Presentation is loading. Please wait.

Presentation is loading. Please wait.

Interaction Diagram Notation

Similar presentations


Presentation on theme: "Interaction Diagram Notation"— Presentation transcript:

1 Interaction Diagram Notation
Ch. 15 Larman ch. 15

2 Interaction Diagrams Illustrates how objects interact via messages
2 diagram types: Sequence Diagram (fence format) Collaboration Diagram (graph or network) Larman ch. 15

3 Collaboration Diagram
Larman ch. 15

4 Sequence Diagram Larman ch. 15

5 Common interaction Diagram Notation
Classes and Instances: Larman ch. 15

6 Common interaction Diagram Notation
Basic Message Expression Syntax: return := message(parameter : parameterType) : returnType Larman ch. 15

7 Basic Collaboration Diagram Notation
Links: a connection path between two objects Larman ch. 15

8 Basic Collaboration Diagram Notation
Messages: Messages to ’self’ or ’this’ Larman ch. 15

9 Basic Collaboration Diagram Notation
Creation of Instances: Larman ch. 15

10 Basic Collaboration Diagram Notation
Message number sequencing: Larman ch. 15

11 Basic Collaboration Diagram Notation
Complex sequence numbering: Larman ch. 15

12 Basic Collaboration Diagram Notation
Conditional Messages: Larman ch. 15

13 Basic Collaboration Diagram Notation
Mutually Exclusive Conditional Paths: Larman ch. 15

14 Basic Collaboration Diagram Notation
Iteration or Looping: Larman ch. 15

15 Basic Collaboration Diagram Notation
Iteration over a Collection: Larman ch. 15

16 Basic Collaboration Diagram Notation
Messages to a Class Object Larman ch. 15

17 Basic Sequence Diagram Notation
Links: Sequence diagrams do not show links (connection paths between objects) Larman ch. 15

18 Basic Sequence Diagram Notation
Messages: Larman ch. 15

19 Basic Sequence Diagram Notation
Messages – illustrating returns: Larman ch. 15

20 Basic Sequence Diagram Notation
Messages to ’self’ or ’this’: Larman ch. 15

21 Basic Sequence Diagram Notation
Creation of Instances: Larman ch. 15

22 Basic Sequence Diagram Notation
Object lifelines and Object Destruction: Larman ch. 15

23 Basic Sequence Diagram Notation
Conditional Messages: Larman ch. 15

24 Basic Sequence Diagram Notation
Mutually Exclusive Conditional Messages: Larman ch. 15

25 Basic Sequence Diagram Notation
Iteration for a single message: Larman ch. 15

26 Basic Sequence Diagram Notation
Iteration of a Series of Messages: Larman ch. 15

27 Basic Sequence Diagram Notation
Iteration over a Collection: Larman ch. 15

28 Basic Sequence Diagram Notation
Messages to Class Objects Larman ch. 15

29 Interaction Diagrams Summary
Collaboration Diagram Graph/network format Links Time ordering by message numbers Sequence Diagram Fence format No links Time ordering from top to bottom Show the focus of control May illustrate returns Larman ch. 15


Download ppt "Interaction Diagram Notation"

Similar presentations


Ads by Google