UML StateChart Diagrams

Slides:



Advertisements
Similar presentations
Embedded System, A Brief Introduction
Advertisements

State Charts Mehran Najafi. Reactive Systems A reactive, event-driven, object is one whose behavior is best characterized by its response to events dispatched.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
SE 555 Software Requirements & Specification 1 Activity Diagrams.
Ch5: Software Specification. 1 Dynamic modeling using UML  Static models:  Dynamic models:
1 CS 691z/791z Topics in Software Engineering Chapter 13: Activity Diagrams & Chapter 19: Basic Statecharts [Arlow and Neustadt, 2002] March 8, 2007.
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
UML Distilled Martin Fowler. State Diagrams  State Transition Diagrams define a number of states and the transitions between the states.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Requirements Analysis Activity Diagrams b511.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
UML Activity Diagram. Activity Diagram  The main reason to use activity diagrams is to model the workflow behind the system being designed.  Activity.
Activity Diagrams Derived from several techniques: Event diagrams of Jim Odell SDL state modeling techniques Workflow modeling Petri nets Especially useful.
COMP1007 Intro to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Requirements Analysis Lecture.
SE-565 Software System Requirements More UML Diagrams.
Activity Diagrams Adapted from: Systems Analysis and Design in a Changing World, 2nd Edition by John W. Satzinger, Robert Jackson and Stephen Burd published.
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
Chapter 10 State Machine Diagrams
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Behavioral diagrams Lecture p4 T120B pavasario sem.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
February 20, 2012  Present Fayad KSU – SWE Process and Modeling Software Process and Modeling Dr. M.E. Fayad, Professor Software Engineering Department,
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Chap 28 UML Activity Diagrams and Modeling
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
OMT Modeling 1. Object Model : presented by the object model and the data dictionary. 2. Dynamic Model: presented by the state diagrams and event flow.
A Student Guide to Object-Oriented Development
States.
State Chart diagram Week objective Describe State chart Diagrams in Dynamic Modelling 2.
Essentials of Visual Modeling w/ UML Instructor Notes
UML Activity Diagrams.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
Activity Diagramming by Andrzej Rosolski Stanisław Gliniewicz.
Interaction Models (2): Activity Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh.
Activity Diagrams. Notation Activity1()cActivity2() 1. Activities 2. Transition.
® IBM Software Group © 2009 IBM Corporation Module 11: Creating State Machine Diagrams Essentials of Modeling with IBM Rational Software Architect V7.5.
Elaboration: Iteration 3. Elaboration: Iteration 3 Basics Inception and iteration-1 explored many basic OOA/D modeling basics. Iteration-2 narrowly emphasized.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Advanced UML State Diagrams.
Activity Diagram.
UML Chapter 17.
CHAPTER
Information Delivery Manuals: Process Mapping
Introduction to Control Flow Patterns and BizAgi
Activity Diagram.
Activity and State Transition Diagram
Activity Diagram.
Visit for more Learning Resources
State Machine Diagrams
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
Activity Diagrams.
Business System Development
UML Activity Diagrams.
UML Activity Diagrams & State Charts
UML State machine diagram
Process Modeling: Activity/Swimlane Diagrams
States.
Software System Engineering
State Diagrams.
Activity Diagrams.
State Machines Massimo Felici.
States.
Appendix 3 Object-Oriented Analysis and Design
Ch. 28 Larman UML & Patterns
Object-Oriented Analysis & Design
Presentation transcript:

UML StateChart Diagrams Activity Diagrams

Activity Diagrams: What is ? Variation of a state machine in which the states represent the performance of actions or sub-activities and the transitions are triggered by the completion of the actions or sub-activities. Describe a flow of sequential or concurrent actions/activities. Uma actividade pode ser decomposta: Um caso de utilizacao Uma operacao de uma classe Um grupo de casos de utilizacao relacionados entre si Uma parte de uma actividade de mais alto nivel

Activity Diagrams: Notation Action State Subactivity State Decisions Swimlanes Action-Object Flow Action State Subactivity State Decisions Swimlanes action Action State – state with an entry action and at least one outgoing x y A/O

Activity Diagrams: Notation Synch States Join Fork

Activity Diagrams: When ? Behavior doesn’t depend on external events. Tasks that terminate without being interrupt by external events. Flow of data between tasks.

Activity Diagrams: In Action

Activity Diagrams: In Action

Activity Diagrams: In Action

Activity Diagrams vs States Both represent a lifetime cycle of a system. Automatic transitions, not handled by external events. Majority states are action states.

Activity Diagrams: Criticism Impedance Mismatch Easy to read (not) Bad understand can originate complex diagrams.

Conclusion Essentially a concurrent diagram, not only sequential tasks. Parallel tasks, the execution order is not important. Widely used to describe use cases.