Professional Documents
Culture Documents
CT015-3-2 Version 1
Interaction Modelling
Topics and Structure of the Lesson
• Interaction Modeling
-Types
-Notations
-Relationships
• Communication diagram
• Sequence diagram
Communication
diagram for View
Alarms use case
Sequence
diagram
for View
Alarms
use case
CT015-3-2 Design Methods Interaction Modeling Slide <9> of 23
Message Sequence Description
• Describes sequence of object interactions
– Narrative description
– Corresponds to Communication Diagram or Sequence
Diagram
• Description corresponds to message sequence
numbering on diagrams
– Describe what object does on receiving message
• E.g., every time an object interacts with an entity object
– Describe the object being accessed
– Identify attributes referenced
You can put a guard in each fragment to indicate under what condition it can
run. A guard of else indicates a fragment that should run if no other guard is
true. If all guards are false and there is no else, then none of the fragments
executes.
Loop The fragment repeats some number of times. You can indicate in the guard the
condition under which it should repeat.
Interaction use
Loop/iterative / reference
fragment box fragment box
• Interaction Modeling
-Types
-Notations
-Relationships