1 / 12

OOD – Use Case Realizations UML's Sequence Diagram

OOD – Use Case Realizations UML's Sequence Diagram. Chapter 11 pp . 327-349. Where are we?. System Sequence Diagram (Ch5). shows interactions between an actor & the system. Use Case: “Create New Customer”. Lifelines Actor Object Message Return Message. Sequence Diagrams.

may-buckner
Télécharger la présentation

OOD – Use Case Realizations UML's Sequence Diagram

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OOD – Use Case Realizations UML's Sequence Diagram Chapter 11 pp. 327-349

  2. Where are we?

  3. System Sequence Diagram (Ch5) • shows interactions between an actor & the system Use Case: “Create New Customer” • Lifelines • Actor • Object • Message • Return Message

  4. Sequence Diagrams • (def) model of the interactions between objects within a single use case scenario (i.e. an instance of a use case) • Interactions (i.e. messages) Lifeline Object Activation bar : Object creation : Message Return

  5. 125 : A : B doThis() • A method is being invoked • From the originating/sending object (A) • To the destination object (B) • B is responsible for implementing the method doThis() • * [true/false]returnValue:= messageName(parameter)

  6. Use Case: “Cancel an Order” Sequence Diagram (Note: Domain Layer only) Design Class Diagram Add methods to the Design Class Diagram

  7. Use Case: “Place a Phone Order”

  8. Sequence Diagram(with the Actor & 3 Layers)

  9. 3 Layer Design Types of Classes View Layer Domain Layer Data Access Layer Database CustomerDA Customer Table Order Table OrderDA OrderItem Table OrderItemDA …. ….

  10. Use Case: “Create New Customer” Sequence Diagram Here is a: 3 Layer Design Note: We will only be modeling the Actor & the Domain layer. Actor View Domain Data Access

  11. Exercise

  12. Sequence Diagram Use Case: “Place a Phone Order” Note: Domain Layer only Design Class Diagram Add methods to the Design Class Diagram

More Related