Overview of UML
Overview of UML
1
Overview of UML
Logical Process
View View
•UML model diagrams breaks into perspectives or views.
Use Case
•Philippe Kruchten's 4+1 view model help the system View
developers to show how each diagram type plays a part
Development Physical
in the overall model. View
View
+Attribute1
Logical view:
+Attribute2
+Attribute3 • Describe the abstract descriptions of a system's parts.
+Operation1()
+Operation2()
+Operation3() Object • Used to model what a system is made up of and how the parts
stateName
State machine • The types of UML diagrams that typically make up this view
Object1 Object2 Object3
Object1
1 : message 1()
include:
Object2
2 : message 2()
3 : messsage 3()
o Class
Object3
4 : message 4() o Object
o State machine
a) Collaboration diagram b) Sequence diagram
Interaction diagrams o Interaction diagrams.
Sunday, October 27, 2024 5
Process view:
•These two aspects of the UML model go hand-in-glove, and one is not truly complete without the other.
• These are the mostly static parts of a model, representing elements that
are either conceptual or physical.
process psyment
login insert PIN
Component:
• A component is a modular part of the system design that
hides its implementation behind a set of external interfaces.
• Within a system, components sharing the same interfaces can component name
be substituted while preserving the same logical behaviour.
• The implementation of a component can be expressed by
wiring together parts and connectors; the parts can include
smaller components.
•In an activity, the focus is on the flows among steps without regard to
Saving File
which object performs each step.
•States and actions are distinguished by their different contexts. Writting code
Grouping Things:
• Grouping things are the organizational parts of UML models.
• There is one primary kind of grouping thing, namely,
packages.
• A package is a general-purpose mechanism for organizing the
design itself.
• Structural things, behavioural things, and even other grouping
things may be placed in a package.
• Packages are very useful in managing models
Relationships:
• There are four kinds of relationships in the UML:
Course
Department 1.Dependency
+courseCode
+CourseTitle Student #deptId
+deptName
2.Association
+CreditHour +StdId
+Name 3.Generalization
+sex
-viewGrade() 4.Realization
+sendComments()
+enrolled() • These relationships are the basic relational building
blocks of the UML.
• It is a specialization/generalization relationship.
• It is a semantic relationship between two model
elements. • The specialized element (the child) builds on the
specification of the generalized element (the
• A change to one element (the independent one) may
parent).
affect the semantics of the other element (the
dependent one). • The child shares the structure and the behaviour
of the parent.