1 / 19

Lesson 9

State Diagrams. Lesson 9. Agenda. Weekly Schedule-SLATE Assignment No 2 Solutions to ICE’s posted on SLATE Today State charts – continued... I-C-E-06 Two ways of modelling Summarize Requirements Gathering Process Car Rental System – Case Study

nadine
Download Presentation

Lesson 9

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. State Diagrams Lesson 9

  2. Agenda • Weekly Schedule-SLATE • Assignment No 2 • Solutions to ICE’s posted on SLATE • Today • State charts – continued... • I-C-E-06 • Two ways of modelling • Summarize Requirements Gathering Process • Car Rental System – Case Study • Introduce System Sequence Diagrams (SSDs) • ICE-07 Object Oriented Methodologies

  3. The Big Picture Object Oriented Methodologies

  4. Typical Amazon Package Tracking Status Report Object Oriented Methodologies

  5. Review I-C-E-06 • Two Versions Object Oriented Methodologies

  6. Class example… • Car Rental System – Posted on SLATE Week09 Object Oriented Methodologies

  7. Summarize:Rules for Developing Statecharts • [1] Select the classes that will require statecharts • [2] List all the status conditions for each group • [3] Specify transitions that cause object to leave the identified state • [4] Sequence state-transition combinations in correct order Object Oriented Methodologies

  8. Rules for Developing Statecharts (continued) • [5] Identify concurrent paths. • [6] Look for additional transitions • [7] Expand each transition as appropriate • [8] Review and test each statechart Object Oriented Methodologies

  9. Practice Exercise • See SLATE for a posted exercise Object Oriented Methodologies

  10. The Big Picture SYST39409 - Object Oriented Methodologies

  11. Identifying Inputs and Outputs—the System Sequence Diagram • System sequence diagram (SSD) • Describes flow of information • Identifies interaction between actors and system • Message oriented SYST39409 - Object Oriented Methodologies

  12. SSD Notation • Actor “interacts” with the system via input/output • SSDs use object notation • Box (rectangle) refers to individual object • Name of the object underlined • Messages sent/received by objects, not classes   • Lifeline • Extension of object or actor for duration of the SSD • Indicates sequence of the messages sent/received SYST39409 - Object Oriented Methodologies

  13. Sample System Sequence Diagram

  14. SSD Notation (continued) • Message syntax can take several forms • Depends on send/return direction • Message semantics: actions (like commands) invoked on destination object   SYST39409 - Object Oriented Methodologies

  15. Developing a System Sequence Diagram • Begin with detailed description of use case • Fully developed form • Activity diagrams • (4) step process for turning activity diagram into SSD   • [1] Identify the input messages • [2] Describe messages from external actor to system • [3] Identify/apply special conditions to input messages • [4] Identify and add the output return messages  SYST39409 - Object Oriented Methodologies

  16. A Simplified Diagram of the Telephone Order Scenario

  17. An SSD of the Simplified Telephone Order Scenario for the Create New Order Use Case

  18. Developing a System Sequence Diagram (continued) • Names of messages reflect services performed • Important principle for identifying data parameters • Base the list on the class diagram • Attributes from the classes listed as parameters   • Iteratively define input/output parameters around workflows • Objective: discovery and understanding SYST39409 - Object Oriented Methodologies

  19. For Next Class • Read & Study Chapter 6 Pages 237 -246 • What comes next? • Sequence Diagrams Object Oriented Methodologies

More Related