lecture10 UML3

lecture10 UML3 - Unified Modeling Language III State...

Info iconThis preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon
Unified Modeling Language III
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram (1/11) State diagrams are used to describe the behavior of a system It shows the change of an object through time It describe all of the possible states of an object as events occur Based upon events that occur, the state diagram shows how the object changes from start to finish
Background image of page 2
State Diagram (2/11)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram (3/11)
Background image of page 4
State Diagram (4/11)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram (5/11)
Background image of page 6
State Diagram (6/11) State Name State Variables Activity The activity section of the state symbol depicts what activities the object will be doing while it is in that state
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram (7/11)
Background image of page 8
State Diagram (8/11)
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram (9/11)
Background image of page 10
State Diagram (10/11)
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram – A washing machine  (11/11)
Background image of page 12
In Class Exercise of State Diagram Draw a State Diagram for elevator The elevator starts on the first floor and moves up to some other floor after which it becomes idle or moves down. Eventually it moves back to the first floor Please show all the possible states that objects of the class (elevator) can have, and the events that cause the states to change (ex: arrive at floor)
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
State Diagram of the Elevator (1/2)
Background image of page 14
Image of page 15
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/27/2008 for the course COMS 319 taught by Professor Jiang during the Spring '08 term at Iowa State.

Page1 / 37

lecture10 UML3 - Unified Modeling Language III State...

This preview shows document pages 1 - 15. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online