Lec13c-SystemSequenceDiagram

Lec13c-SystemSequenceDiagram - Each lifeline can have one...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture: System Sequence Diagram 1 Class diagrams represent static relationships. Why? What about modeling dynamic behavior? Interaction diagrams model how groups of object collaborate to perform some behavior Typically captures the behavior of a single use case Withdraw : 1. Authorization: Customer provides name, ID 2. Customer provides account # and amount to Bank 3. Bank checks balance 4. Bank: Generate receipt 5. Bank: count Cash 6. Return cash and receipt to customer
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lecture: System Sequence Diagram 2 Each object has a lifeline denoted by a vertical dashed line. Each object is represented as a box containing its name followed by a colon and its type, all underlined.
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Each lifeline can have one or more activations bars ( open boxes ) that show when the object is active and the responsibilities of the class. A method call appears as a solid arrow from the calling object’s activation bar to the top of a new activation bar on the lifeline of the called object. Such arrows are labeled with a message expression that describes the task performed. Order of messages sequences top to bottom Messages labeled with message name Optionally arguments and control information Control information may express conditions: such as [hasStock], or iteration Returns (dashed lines) are optional Use them to add clarity...
View Full Document

This note was uploaded on 12/07/2011 for the course COMP 2710 taught by Professor Staff during the Fall '08 term at Auburn University.

Page1 / 2

Lec13c-SystemSequenceDiagram - Each lifeline can have one...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online