Professional Documents
Culture Documents
Unified Modeling Language Project
Unified Modeling Language Project
Md. Wasim
&
Baldeep
Introduction to Modeling
Class Diagrams
Use Case Diagrams
Sequence Diagrams
What is a model ?
A model is a simplification of realty.
Why do we model ?
We build models so that we can better
understand the system we are developing
Use case
diagrams
Sequence Class
Diagrams diagrams
Collaboration Object
diagrams Diagrams
UML
MODELS
State
Component
Machine
Diagrams
Diagrams
Activity Deployment
Diagrams Diagrams
Class Diagrams
Object Diagrams
Aggregation
Represents a part-whole
relationship
Attribute
Named property of
a class
Operation
Class behavior
Generalization
Shows an inheritance
relationship
30th November 2009 13
Object Diagram
A Use case diagram depicts the various operations that a system performs. It
contains use cases, actors and their relationships. Use cases are the sequence
of actions that forms a single unit of work for an actor. An actor represents a
user who is external to the system and interacts with the use case
Decision
Flows split based on a guard
condition
Fork
Beginning of concurrent flows
Join
End of concurrent flow
Flow
Show the sequence of
activities
• Depends:
You use diagrams to visualize the system from
different perspectives.
No complex system can be understood in its
entirety from one perspective.
Diagrams are used for
communication
• Model elements will appear on one or
more diagrams.
For example, a class may appear on
one or more class diagrams, be
represented in a state machine
diagram, and have instances
appear on a sequence diagram.
Each diagram will provide a
different perspective.
www.rational.com
Book:
Applying UML & Patterns –Craig Larmen