Lecture 6.docx - Lecture 6 1 State Diagram consists of all the states an object can assume during its lifetime as well as the stimuli that can cause

Lecture 6.docx - Lecture 6 1 State Diagram consists of all...

This preview shows page 1 - 2 out of 2 pages.

Lecture 6 1- State Diagram: consists of all the states an object can assume during its lifetime as well as the stimuli that can cause changes to these states. State diagrams consist of: a. Initial state b. Final state c. A finite set of states d. A finite set of events e. State transitions - A state belongs to a single class and it’s a representation of a set of all possible values to attributes that might be used in objects of this class - No transition leads to the initial state and no event allow leaving the final state. - A state without a name is an anonymous state. - Two states having the same name are considered the same state. - States have either unique names or they have anonymous names. - State Diagram Representation: o The behavior section: Entry – occurs at the beginning of the state and cannot be interrupted Exit – occurs once you exit from the state and cannot be interrupted Do – can be interrupted by the state transition triggers
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Winter '08
  • ahmedothman
  • UML diagrams, state transitions, e. Dashed arrow

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes