Presentation is loading. Please wait.

Presentation is loading. Please wait.

State Chart diagram Week 08 1. objective Describe State chart Diagrams in Dynamic Modelling 2.

Similar presentations


Presentation on theme: "State Chart diagram Week 08 1. objective Describe State chart Diagrams in Dynamic Modelling 2."— Presentation transcript:

1 State Chart diagram Week 08 1

2 objective Describe State chart Diagrams in Dynamic Modelling 2

3 3

4 4

5 5 Specifying Behaviour Interaction diagrams – show how object behave in particular interactions – do not specify all the possible behaviours of objects Different notation is needed to summarize the overall behaviour of objects UML defines statecharts for this purpose

6 6

7 7 The Value of Statechart Diagram Statechart diagram is the only dynamic model that can illustrate the milestones in the lifetime of one class of objects in its entirety.

8 8

9 9

10 10

11 11

12 Ingredients of a State Machine Diagram 12 Start State Stop State Transition & Self-Transition Guard Condition/ Action State Nesting Decision Point Notes [ CorrectDetails ] / acceptPolicy

13 13

14 14

15 15

16 16

17 17

18 18

19 19

20 20

21 21

22 State-dependent Behaviour Objects respond differently to the same stimulus at different times This is modelled by defining a set of states – an object can be in one state at any time – the state it is in determines how it responds to events detected or messages received – in particular, an event can cause the object to move from one state to another (a transition) 22

23 END 23


Download ppt "State Chart diagram Week 08 1. objective Describe State chart Diagrams in Dynamic Modelling 2."

Similar presentations


Ads by Google