Sequence Diagram
Sequence Diagram
Sequence Diagram
Behavior Structure
Diagram Diagram
State
Activity Class Component Object
Machine
Diagram Diagram Diagram Diagram Diagram
Composite Deployment Package
Interaction Use Case
structure Diagram Diagram
Diagram Diagram Diagram
Profile
Diagram
Communication Interaction Sequence Timing
Diagram overview Diagram Diagram
Diagram
Sequence Diagram Concept
We use a sequence diagram to illustrate use-case realizations and
show how objects interact to perform the behavior of all or part of a use
case.
• The lifeline represents the existence of the object that participate in the
sequence being modeled at a particular time.
• lifeline notation elements are placed across the top of the diagram
• Lifelines are drawn as a box with a dashed line descending from the
center of the bottom edge.
• above this dotted line you place the return value from the operation.
Focus of Control
Focus of Control represents the period during which an element is
performing an operation. The top and the bottom of the of the
rectangle are aligned with the initiation and the completion time
respectively
Messages Ex
Recursive Message
• some time times the object will need to send a message to itself
(if else )
Option
The option combination fragment is used to model a sequence that,
given a certain condition, will occur; otherwise, the sequence does not
occur.
loop
AddItem
ReserveItem
Checkout
ProcessOrder
ConfirmOrder
PlaceItemInOrder