Page 93 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 93
Unit 7: Interaction Modelling
Lifelines: Lifelines are vertical dashed lines that indicate the object’s presence over time. Notes
Figure 7.8: Lifelines
Destroying Objects: Objects can be terminated early using an arrow labeled “<< destroy >>” that
points to an X.
Figure 7.9: Destroying Objects
Loops: A repetition or loop within a sequence diagram is depicted as a rectangle. Place the
condition for exiting the loop at the bottom left corner in square brackets [ ].
Figure 7.10: Loops
LOVELY PROFESSIONAL UNIVERSITY 87