Presentation is loading. Please wait.

Presentation is loading. Please wait.

INFS 6225 Object-Oriented Analysis & Design

Similar presentations


Presentation on theme: "INFS 6225 Object-Oriented Analysis & Design"— Presentation transcript:

1 INFS 6225 Object-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 3 Types Sequence Communication Behavioral State
Interaction – underlying details of Use Case Changes that occur in underlying data 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 Communication Diagram Components
AN ACTOR AN OBJECT AN ASSOCIATION A MESSAGE anObject:aClass aMessage()

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 Behavioral State Components
A STATE AN INITIAL STATE A FINAL STATE AN EVENT A TRANSITION aState anEvent

18 Practice Exercises


Download ppt "INFS 6225 Object-Oriented Analysis & Design"

Similar presentations


Ads by Google