1 / 18

INFS 6225 Object-Oriented Analysis & Design

INFS 6225 Object-Oriented Analysis & Design. Chapter 6: Behavioral Modeling. Behavioral Models. Diagram underlying business process Represent internal behavior of system Iterative Technology-independent (Analysis Phase). Interaction – underlying details of Use Case.

masao
Download Presentation

INFS 6225 Object-Oriented Analysis & Design

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. INFS 6225Object-Oriented Analysis & Design Chapter 6: Behavioral Modeling

  2. Behavioral Models • Diagram underlying business process • Represent internal behavior of system • Iterative • Technology-independent (Analysis Phase)

  3. Interaction – underlying details of Use Case Changes that occur in underlying data 3 Types • Sequence • Communication • Behavioral State

  4. Review of OO Concepts Patient Class • Objects of Patient Class: • Jim Maloney • Mary Wilson • Theresa Marks Attributes: - Name - Address - Birthdate Methods (or Operations)

  5. Type 1: Sequence Diagrams • Sequence of events for ONE Use Case • Show sequence of messages passed between objects

  6. Sequence Diagram Example Make Appointment Becomes . . .

  7. Sequence Diagram Components AN ACTOR AN OBJECT A LIFELINE A FOCUS OF CONTROL A MESSAGE OBJECT DESTRUCTION anObject:aClass aMessage() x

  8. Practice Exercises

  9. Type 2: Communication Diagrams • Show communication flows among objects • An object diagram • Show patterns of activity

  10. Communication Diagram Example

  11. AN ACTOR AN OBJECT AN ASSOCIATION A MESSAGE anObject:aClass aMessage() Communication Diagram Components

  12. CRUD Analysis

  13. Practice Exercises

  14. Type 3: Behavior State Diagrams • Show different states through which an object passes during its life • Used to show how an instance evolves over time

  15. Behavioral State Terminology • State – value of attributes at specific point in time • Event – stimulus that changes an object’s value • Transition – movement of object from one state to another • Action – Nondecomposable (Atomic) process that cannot be interrupted • Activity – Can be decomposed & can be stopped/started by Actions

  16. Behavioral State Example

  17. A STATE AN INITIAL STATE A FINAL STATE AN EVENT A TRANSITION aState anEvent Behavioral State Components

  18. Practice Exercises

More Related