Академический Документы
Профессиональный Документы
Культура Документы
UML basic
3. Use case diagram
4. Class diagram
5. Activity diagram
6. Sequence diagram
7. 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 a roleofin
Use case
measurable
functionality
one or more value
that isto
inan
interactionsscope
actor
withand
and is
your
drawn
anything
systemasoutside
a horizontal
the box
ellipse
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
Practices Section
Practice example:
• New students can register the course, modules and tutor by themselves.
11
Now we can start to use Together 2006
ftp://ftpc.borland.com/pub/together/techpubs/tec2006/GettingStarted.pdf
In the first 1 hour, we do the Use case diagram, class diagram and sequences
diagrams.
In the second 1 hour, we do the activities diagram and state machine diagram
12
Reading list
http://www.agilemodeling.com/essays/umlDiagrams.htm
http://www.developer.com/design/article.php/2247041
http://sparxsystems.com.au/resources/uml2_tutorial/
http://www.visual-paradigm.com/VPGallery/diagrams/index.html
http://www-128.ibm.com/developerworks/rational/library/3101.html
http://pigseye.kennesaw.edu/~dbraun/csis4650/A&D/UML_tutorial/inde
13
14