Static Modeling.pptx
-
Upload
pramod-patel -
Category
Documents
-
view
216 -
download
0
Transcript of Static Modeling.pptx
-
8/14/2019 Static Modeling.pptx
1/20
I.S.A.SI.S.A.S SeminarSeminar
-
8/14/2019 Static Modeling.pptx
2/20
AboutAboutUML is concerned for Unified
modeling language UML is anotational language that enablesthe stakeholders to view thearchitecture of the system from
-
8/14/2019 Static Modeling.pptx
3/20
About StaticStatic modeling is one type of
modeling which is used forunderstand the physical structureof a software. In the UnifiedModeling Language (UML), a class
-
8/14/2019 Static Modeling.pptx
4/20
ClassClassClass diagrams represent a set ofclasses, interfaces and their
relationships. We can represent aclass in a rectangular box with
-
8/14/2019 Static Modeling.pptx
5/20
ObjectObject
An object diagram representsinstances of a class diagram. We
represent an object in a
Name =Robert
Addres
Phone Number =
Student Number =
Average mark =
Street = South
City = New DelhiState = DelhiPostal Code = 110016Country = India
mailto:Email%[email protected]:Email%[email protected] -
8/14/2019 Static Modeling.pptx
6/20
Relationship between Class and Object
Association:-
An Association represents a family
of links. It represents the staticrelationship shared the object oftwo classes. An association may beunidirectional or bi-directional but
Student NIITGive Education for Get
Association
Student AddressHas
Unidirectional Association
-
8/14/2019 Static Modeling.pptx
7/20
Multiplicity:-
The association relationshipindicates that (at least) one of the
two related classes makesreference to the other. The UMLrepresentation of an association isa line with an optional arrowhead
Student NIIT Give Education for Get
1
Multiplicity
-
8/14/2019 Static Modeling.pptx
8/20
Aggregation:-Aggregation represents anassociation between two classes
such that class A is a part of classB and A can exist independently.Aggregation is a variant of the
Student NIITBelongs
ggregation
-
8/14/2019 Static Modeling.pptx
9/20
Composition:
Composition represents anassociation between two classes
such that class A contains class Band also control the lifetime of classB. It means that the existence of
Student Address
Composition
Ha
-
8/14/2019 Static Modeling.pptx
10/20
Dependency:
A dependency exists between twodefined elements if a change to the
definition of one would result in achange to the other. This isindicated by a dashed arrow
Discount Bill
Dependency
-
8/14/2019 Static Modeling.pptx
11/20
Generalization:-Generalization represents howsuper classes are related to subclasses. Super classes are calledbase classes and Sub classes are
Student
Career student Non career student
-
8/14/2019 Static Modeling.pptx
12/20
Realization:-
Realization represents In UMLmodeling, a realization relationship
is a relationship between twomodel elements, in which onemodel element realizes the
Payment Counter Bill
Realization
-
8/14/2019 Static Modeling.pptx
13/20
Type of Classes:-
vAbstract class
v
Parameterized class
vFactory class
vSelf-linked class
-
8/14/2019 Static Modeling.pptx
14/20
Abstract Class:-
An abstract class is a class thatdoes not have any direct instances.
However the classes inherited froman abstract class can have direct
StudentStudent_id
Registration_id
-
8/14/2019 Static Modeling.pptx
15/20
Parameterized Class:-
A Parameterized class, also calledtemplate class, provided a
mechanism that enables you to useoperations and classes to work with
List
Add (T)
Element Type
-
8/14/2019 Static Modeling.pptx
16/20
Factory Class:-
A class that has multiple objectshaving the same attribute values isknown as a factory class.
Object Name
Self-Linked Class:-
A class that has objects, which
fulfill more than one role, is calledObject Name
-
8/14/2019 Static Modeling.pptx
17/20
Recursive Aggregation:-
Recursive Aggregation is anassociation relationship betweentwo objects of the same class. Project Manager:Employee
Developer:Employee
Qualified Association:-Qualified Association is anassociation relationship that relatesan object of a class to a Particularobject or a set of objects of another
-
8/14/2019 Static Modeling.pptx
18/20
-
8/14/2019 Static Modeling.pptx
19/20
vInterfaces:-
Lollipop notation:-
An interface is a collection ofoperation that is used to representthe services provided by a class or
This notation shows the interfacesas a circle and displays the classthat realizes the interface in a
ValidateAccept
-
8/14/2019 Static Modeling.pptx
20/20
Dashed Arrow notation:-
Depict an interface as a class withthe help of the keyword. The diagram also
-: