Professional Documents
Culture Documents
Tutorial contents
UML basic
1. Use case diagram
2. Class diagram
3. Activity diagram
4. Sequence diagram
5. StateMachine diagram
Together 2006
Homework
2
UML Diagram – What is UML?
The Unified Modeling Language (UML) is a standard language for
3
Different Views
4
Use case diagram System
boundary
Use case:
System
Actor: boundary:
indicates
A
Anuse case
actor the
is adescribes
scope oforganization,
person, ayour
sequence
system. of
or
actions
Anything
externalthat
within
provide
system the
thatbox
something
represents
plays ofin
a role
Use case
measurable
functionality
one or more value
that istoinan
interactions scope
actor
withand
and is
your
drawn
anything
systemasoutside
a horizontal
the boxellipse
is not
• Associations
• Aggregation
Relations • Generalization
Attributes
Operations
6
Relationships between Class Diagrams
Message
Operations
Lifeline
8
Activities Diagram
Start
Activity diagrams describe the
Fork workflow behaviour of a system
Branch
Merge
Joint
9
End
State Machine Diagram
A State Machine diagram
shows the possible states of
the object and the transitions
that cause a change in state.
What is different
?
between activities
and Statemachine
diagram
10