getNextTask()
return value shown below arrow
TaskManager: getNextTask() : Task
reply message shown with dashed arrow
Task: doTask()
asynchronous message shown with open arrowhead
34
Lifelines and activation boxes
lifeline: dashed vertical line for each object
activation box: solid box on lifeline for duration of object's activation
activation boxes can overlap to show concurrency
35
Other sequence diagram features
guard conditions: {condition} above message arrow
alternative flows: alt combined fragment
loops: loop combined fragment
getNextTask()
return value shown below arrow
TaskManager: getNextTask() : Task
reply message shown with dashed arrow
Task: doTask()
asynchronous message shown with open arrowhead
34
Lifelines and activation boxes
lifeline: dashed vertical line for each object
activation box: solid box on lifeline for duration of object's activation
activation boxes can overlap to show concurrency
35
Other sequence diagram features
guard conditions: {condition} above message arrow
alternative flows: alt combined fragment
loops: loop combined fragment
getNextTask()
return value shown below arrow
TaskManager: getNextTask() : Task
reply message shown with dashed arrow
Task: doTask()
asynchronous message shown with open arrowhead
34
Lifelines and activation boxes
lifeline: dashed vertical line for each object
activation box: solid box on lifeline for duration of object's activation
activation boxes can overlap to show concurrency
35
Other sequence diagram features
guard conditions: {condition} above message arrow
alternative flows: alt combined fragment
loops: loop combined fragment
getNextTask()
return value shown below arrow
TaskManager: getNextTask() : Task
reply message shown with dashed arrow
Task: doTask()
asynchronous message shown with open arrowhead
34
Lifelines and activation boxes
lifeline: dashed vertical line for each object
activation box: solid box on lifeline for duration of object's activation
activation boxes can overlap to show concurrency
35
Other sequence diagram features
guard conditions: {condition} above message arrow
alternative flows: alt combined fragment
loops: loop combined fragment
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online from Scribd
Download as pdf or txt
You are on page 1of 44
Design and UML Class Diagrams Suggested reading: Practical UML: A hands on introduction for developers http://dn.codegear.
com/article/31863 UML Distilled Ch. 3, by M. Fowler