12 - sequence diagrams

12 - sequence diagrams - specification class diagram: Use...

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

View Full Document Right Arrow Icon
Sequence Diagrams What is a Sequence Diagram? A model describing how groups of objects collaborate in some behavior over time. The diagram captures the behavior of a single use case . It shows objects and the messages that are passed between these objects for the particular use case. When to use a Sequence Diagram? A good design can have lots of small methods in different classes. Because it is difficult to figure out the overall behavior of the design we draw a sequence diagram to verify the behavior.
Background image of page 1

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

View Full DocumentRight Arrow Icon
A Simple Sequence Diagram Basic Notation
Background image of page 2
Sequence Diagram Structures
Background image of page 3

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

View Full DocumentRight Arrow Icon
Example: Online Shopping In order to develop our sequence diagram we will need the use case text and the
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: specification class diagram: Use Case Text: Buy a Product Online 1. Customer browses through catalog and selects items to buy. 2. Customer goes to checkout. 3. Customer fills out shipping information. 4. System presents full pricing information, including shipping information. 5. Customer fills in credit card information. 6. System authorizes purchase. 7. System confirms sale immediately. 8. System sends confirming email to customer. The specification class diagram as developed previously: We now work through the use case text and trace the behavior in the specification diagram as the basis for the sequence diagram:...
View Full Document

Page1 / 5

12 - sequence diagrams - specification class diagram: Use...

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

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