Download presentation
Presentation is loading. Please wait.
Published byBruce Anthony Modified over 9 years ago
1
Engineering Quality Software
2
Today o State Diagrams Jerry Kotuba SYST30009-Engineering Quality Software 2
3
Jerry KotubaObject Oriented Methods3
4
Learn how to construct a state chart of an object. Learn how to discover operations (behaviors) for the classes we found by studying object life cycles. Jerry KotubaObject Oriented Methods4
5
Objects within the business domain (i.e., the context diagram) o Entity objects Other objects o Interface objects…user access to the system o Control objects…application or business rule logic Jerry KotubaObject Oriented Methods5
6
Models the dynamic aspects of a system as it moves from state to state Jerry KotubaObject Oriented Methods6
7
Jerry KotubaObject Oriented Methods7
8
Lifetimes and Life Cycles Events and States Transitions Actions and Activities The Statechart Diagram Object Lifecycles on the Statechart Diagram Jerry KotubaObject Oriented Methods8
10
Jerry KotubaObject Oriented Methods10
11
state diagram exploded into lower levels states can be exploded into substates Jerry KotubaObject Oriented Methods11
12
Jerry KotubaObject Oriented Methods12
13
SLATE- Week08 o Cell Phone Exercise Jerry KotubaObject Oriented Methods13
14
[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 Jerry KotubaObject Oriented Methods14
15
[5] Identify concurrent paths. [6] Look for additional transitions [7] Expand each transition as appropriate [8] Review and test each statechart Jerry KotubaObject Oriented Methods15
16
SLATE – Week08 o ICE-06 Jerry KotubaObject Oriented Methods16
17
Jerry KotubaObject Oriented Methods17
19
something that happens at a certain point in time important occurrence that triggers a state transition o i.e. place an order, register for class, apply for loan, hire new employee An event is considered to be instantaneous
20
must be named after the event may include the following: o [guard condition] shown in square brackets o /action expression action specified after the / slash o parameters of the event i.e. 3 month timeframe
23
Concurrency: condition of being in more than one state at a time Two modes of representation o Use synchronization bars and concurrent paths o Nest low-level states inside higher-level states Higher-level states also called composite states o Complex structure of sets of states and transitions o Represent a higher level of abstraction Jerry KotubaObject Oriented Methods23
24
Read text What comes next? o Complete state charts o Begin Sequence Diagrams Jerry KotubaObject Oriented Methods24
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.