Download - Uml
![Page 1: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/1.jpg)
Unified Modeling Language
[UML]
![Page 2: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/2.jpg)
•UML
•UML diagrams
•UML diagram classification
•Class diagrams
•Sequence diagrams
agenda
![Page 3: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/3.jpg)
UML
Standard methodology language for specifying, visualizing, constructing, and documenting all the work products or artifacts of a software system.
the reasons behind modeling can be summed up in two words:
• readability – ( brings clarity – ease of understanding )
• reusability
![Page 4: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/4.jpg)
MODEL
A model is a pattern of something to be made.
It’s a representation of something in the real world.
![Page 5: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/5.jpg)
UML is . . .
•NOT a method or methodology.•does NOT indicate a particular
process.•NOT a programming language
![Page 6: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/6.jpg)
UML diagrams1. use case 2. class3. sequence4. collaboration5. state 6. activity
7. component8. deployment9. entity-relationship
![Page 7: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/7.jpg)
UML diagram classification
• Static• Dynamic• Implementation
![Page 8: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/8.jpg)
• Static
• Dynamic
• Implementation
• use case
• class
• sequence
• collaboration
• state
• activity
• deployment
• component
![Page 9: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/9.jpg)
use case dgms
• DESCRIBES the relationships and dependencies between a group of Use Cases and the Actors participating in the process.
• NOT suited to represent the design, and canNOT describe the internals of a system.
• It tells , what the system should do but do NOT — and canNOT — specify how this is to be achieved.
![Page 10: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/10.jpg)
actor & useCase
• Actors is an external entity (outside of the system) that interacts with the system by participating (and often initiating) a Use Case.
• Actors do NOT represent the physical people or systems, but their role.
• UseCase descriptions explains the processes or activities that take place in the Use Case.
![Page 11: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/11.jpg)
• It’s related to at least one actor.
• Has an initiator (i.e. an actor).
• Leads to a relevant result (a result with “business value”).
use case dgms contd . . .
![Page 12: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/12.jpg)
class dgms
• Class defines the attributes and the methods of a set of objects.
• In UML, Classes are represented by rectangles, with the name of the class, and can also show the attributes and operations of the class in two other “compartments” inside the rectangle.
![Page 13: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/13.jpg)
• + for public
• # for protected
• - for private
![Page 14: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/14.jpg)
generalization
BASE
DERIVED
associationsEMPLOYEECOMPANY 1 1..
*
aggregation
WHEELCAR
composition
CHAPTERBOOK 1.. *
![Page 15: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/15.jpg)
sequence dgms
• Shows the message exchange (i.e. method call) between
several Objects in a specific time-delimited situation.
• Objects are represented through vertical dashed lines, with
the name of the Object on the top. The time axis is also
vertical, increasing downwards, so that messages are sent
from one Object to another in the form of arrows with the
operation and parameters name.
![Page 16: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/16.jpg)
States dgms
• Shows the different states of an Object during its life and the stimuli that cause the Object to change its state.
![Page 17: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/17.jpg)
activity dgms
• It describes the sequence of activities in a system with the help of Activities. Activity Diagrams are a special form of State Diagrams, that only (or mostly) contains Activities.
![Page 18: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/18.jpg)
EA diagram classification
Behavioral
Structural
![Page 19: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/19.jpg)
Behavioral Diagrams
Portrays the behavioral features of a system or business function.
1)Activity Diagrams
2)Use Case Diagrams
3)State Machine Diagrams
4)Timing Diagrams
5)Sequence Diagrams
6)Communication Diagrams
7)Interaction Overview Diagrams
![Page 20: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/20.jpg)
Structural Diagrams
Portrays the structural elements composing a system or function.
1)Class Diagrams
2)Composite Structure Diagrams
3)Component Diagrams
4)Deployment Diagrams
5)Object Diagrams
6)Package Diagrams
![Page 21: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/21.jpg)
Class diagrams
![Page 22: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/22.jpg)
![Page 23: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/23.jpg)
Sequence diagrams
![Page 24: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/24.jpg)
![Page 25: Uml](https://reader035.vdocument.in/reader035/viewer/2022070303/5490b02db47959362c8b462a/html5/thumbnails/25.jpg)
Merci