Week 4 Flashcards
(17 cards)
Interaction Diagram Definition
Models that describe how a group of objects collaborate in some behavior - typically a single use case
Show a number of example objects and how messages are passed between them
Interaction Diagram - 2 Types
Communication Diagram
Sequence Diagram
Sequence Diagram - 3 Pros or Cons
1 Clearly show time ordering of messages
2 Large set of detailed notation options
3 Forced to extend to the right, uses horizontal space
Communication Diagram - 4 Pros or Cons
Space Economical
Flexibility to add new objects 2 Dimensionally
More difficult to see sequence of messages
Fewer Notation Options
Create and interaction diagram for each …
Operation Contract
How to show instance of a class
Underline or Precede with a colon
What kind of arrow in SD when creating an instance?
Dashed with Stick Arrow
Synchronous Message Arrow
Solid with Filled Triangle
Asynchronous Message Arrow
Solid with Stick Arrow
Return Message Arrow
Dash with Stick Arrow
Destroy Message Arrow
Solid with Filled Triangle, ends at X
Activity Diagram Definition
UML Behavior Diagram that shows the control flow or data flow
Actions coordinated by activity models can be initiated due to these 3 reasons
- Other actions finish executing
- Object and data become available
- Some events external to the flow occur
2 Activity Diagram purposes
Model business processes
Model data-flow
Develop Activity Diagrams from…
use-cases
(Analysis Phase): Turning requirements into functional models
Swimlanes Use
Assign Responsibility to Objects or Individuals who perform the activity
Represents a separation of roles among objects