State diagram

HareemNaz 213 views 14 slides Nov 13, 2015
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

state diagrams in uml


Slide Content

State diagram

One way to characterize change in a system is to say that its object change their state in response to events and to time . When you throw a stick a light changes its state from off to on . When you click a remote control a television changes its state from showing you one channel to showing you another . After an appropriate amount of time , a washing machine changes its state from Washing to Rinsing .

The uml state diagram captures these kind of changes .It presents the states an object can be in along with the transitions between the states and shows the starting point and end point of a sequence of state changes.

Three frequently used activities are entry(what happens when the system enters a state) ,exit(what happens when the system leaves the state ) and what happens while the system is in the state. You can add others as necessary.

Guard condition Guard condition is something when its met transition take place

Here the S creensaving is a guard condition.

The end !!!