Chapter 6: Behavioral Modeling: 1 Oktober 2015
Chapter 6: Behavioral Modeling: 1 Oktober 2015
1 Oktober 2015
Behavioral Models
3 Types
1. Sequence
2. Communicatio
n
3. Behavioral
State
Interaction underlying
details of Use
Case
Changes that occur in
underlying data
Review of OO Concepts
Patient Class
Attributes:
- Name
- Address
- Birthdate
Methods (or Operations)
Becomes . . .
AN OBJECT
anObject:aClass
A LIFELINE
A FOCUS OF CONTROL
A MESSAGE
OBJECT DESTRUCTION
aMessage()
x
Practice Exercises
AN ACTOR
AN OBJECT
anObject:aClass
AN ASSOCIATION
A MESSAGE
aMessage()
CRUD Analysis
Practice Exercises
Behavioral State
Terminology
State value of attributes at specific point in time
Event stimulus that changes an objects value
Transition movement of object from one state to
another
Action Nondecomposable (Atomic) process that
cannot be interrupted (an action is assosiated
with a transition)
Activity Can be decomposed & can be
stopped/started by Actions (an activity is
assosiated with a state)
Behavioral State
Components
A STATE
aState
AN INITIAL STATE
A FINAL STATE
AN EVENT
A TRANSITION
anEvent
Practice Exercises