UML State Diagrams (Ch. 29)

Slides:



Advertisements
Similar presentations
Chapter 29 State Machine Diagrams Sate Machine Diagrams Represent state of an object Behavior as reaction to events.
Advertisements

UML State Machine Diagrams and Modeling
Nested state diagrams:Problems with flat state diagram
Behavioral Modeling: State Diagrams CIS 4800 Kannan Mohan Department of CIS Zicklin School of Business, Baruch College Copyright © 2009 John Wiley & Sons,
UML State chart/machine diagram State machine diagram is a behavior diagram which shows discrete behavior of a part of designed system through finite state.
ZEIT2301 Design of Information Systems Behavioural Design: State Machines School of Engineering and Information Technology Dr Kathryn Merrick.
Introduction to UML Part 2 Behavioral Modeling. Sequence (event) diagram Describes object interaction Typically captures behavior of a single use case.
Dillon: CSE470:DYN & FUNC MODELLING1 Dynamic Model l Show the temporal order of operations l Control model »Show the sequence of operations that occur.
1 CS 691z/791z Topics in Software Engineering Chapter 13: Activity Diagrams & Chapter 19: Basic Statecharts [Arlow and Neustadt, 2002] March 8, 2007.
State Diagram. What is State Diagram?  State diagram is used to show the state space of a given class, the events that cause a transition from one state.
State Machine Diagrams (State Chart in UML 1) Specifying Control (ref: Chapter 11 Bennett, Mc Robb and Farmer)
1 CS/CPE 426 Senior Projects Chapter 21: State Machines Chapter 22:Advanced State Machines [Arlow and Neustadt 2005] March 24, 2009.
THE OBJECT-ORIENTED DESIGN WORKFLOW Statechart Diagrams.
Lecture 4 Finite State Machine CS6133 Software Specification and Verification.
Chapter 10 State Machine Diagrams
מידול התנהגותי 1. Today’s Session Sequence Diagrams State Machines 2.
Software Engineering 1 Object-oriented Analysis and Design Chap 29 UML State Machine Diagrams and Modeling.
NJIT Modeling Behavior in State Chart Diagrams Chapter 29 Rafael Mello.
Fall 2010 CS4310 Requirements Engineering UML: Dynamic Modeling Dr. Guoqiang Hu Department of Computer Science UTEP 1.
1 Software Engineering Dr. K. T. Tsang Lecture 8 State modeling
Object-Oriented Modeling Using UML CS 3331 Section 2.3 of Jia 2003.
11 Software Engineering Dr. K. T. Tsang Lecture 9 Advance State Modeling
Session 22 Modeling the Extended Features of the Statechart Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented.
1 A Student Guide to Object- Oriented Development Chapter 7 State Diagrams.
Information System Design IT60105
Chapter 29 State Machine Diagrams 1CS6359 Fall 2011 John Cole.
UML Discussion on State Machines Perfectly static system is intensely uninteresting Because nothing ever happens.
Section 3.2 Notes Conditional Probability. Conditional probability is the probability of an event occurring, given that another event has already occurred.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
States.
CS3773 Software Engineering Lecture 06 UML State Machines.
State Chart diagram Week objective Describe State chart Diagrams in Dynamic Modelling 2.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 26. Review UML behavioral Diagrams – Sequence diagram.
 Engineering Quality Software.  Today o State Diagrams Jerry Kotuba SYST30009-Engineering Quality Software 2.
INFO 620Lecture #71 Information Systems Analysis and Design Design Class Diagrams and others INFO 620 Glenn Booker.
Modeling Object Lifecycles and State-Dependent Behavior ©SoftMoore ConsultingSlide 1.
State Machine Diagram Chapter 5 Introduction Pages
York University Department of Computer Science © Castro, Mylopoulos and Easterbrook Lecture 11: Modelling “State”  What is State?  statespace.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
1 Object Oriented Analysis System modeling = Functional modeling + Object modeling + Dynamic modeling Functional modeling = Use cases Object modeling =class.
Object-oriented and Structured System Models
Building System Models for RE
Communication DIAGRAM
State Machine Diagrams
CS251 – Software Engineering Lectures 11 State Diagrams
Business System Development
CSE 403 Lecture 9 UML State Diagrams Reading:
UML Activity Diagrams & State Charts
States.
Object Oriented System Design
CS/CPE 426 Senior Projects
Communication Diagrams
State Diagrams.
State Machines Massimo Felici.
Chapter 5 state Modeling
More Requirements Models
Communication DIAGRAM
CS/CPE 426 Senior Projects
States.
State Machine Diagrams
Week 5.
CS 791Z State Machines & Advanced State Machines
UML State Diagrams.
Appendix 3 Object-Oriented Analysis and Design
Week 5.
Modeling Behavior in Statechart Diagrams
Ch. 28 Larman UML & Patterns
On to Object Design c. 14.
Chapter 4 Sequence Diagrams
Presentation transcript:

UML State Diagrams (Ch. 29)

State Diagrams State diagrams: Provides another dynamic view of aspects of system Expresses: Events States Behavior of an object in reaction to an event Shows behavior of an object

Fig. 29.1

State Diagrams Terminology: Event – a significant occurrence (instantaneous, has no duration) State – a condition of an object, time between events (has duration) Transition – object moves from one state to another, triggered by an event Notation for each

State Diagrams Guideline: Consider state diagrams for state-dependent objects with complex behavior Guideline: Business information systems typically have few state-dependent classes/objects Process control, device control, protocol handlers, communications systems typically have many state-dependent objects See p. 488 for examples

State Diagrams Notations: Action – an event may cause an action to fire Conditional guard – a transition may be guarded by a boolean test, the transition fires only if event occurs at a point where test is true

State Diagrams Nested states a state can contain substates substates inherit transitions of enclosing state

Applying state diagram to web page navigation State Diagrams Applying state diagram to web page navigation

State Diagrams Example from POS system: State diagram shows legal sequencing of use case operations . . .

Fig. 29.5