State diagram
1. Overview of the state diagram
★Describe the sequence of states an object goes through in response to events during its lifetime, and their response to those events
the response to.
★ State diagrams are used to reveal the complex characteristics of Actors, classes, subsystems and components. Model real-time systems.
Second, the composition of the state diagram
★State - The state of an object refers to a condition or situation during the lifetime of the object during which the object will
Some condition is met, some activity is performed, or some event is waited for.
★Transition - A transition is a migration from one state to another. This transfer is made by the modeled entity internal or external
Event fires. For a class, a transition is usually the invocation of an operation that causes a significant change in state
result.
3. Things and explanations in the state diagram
4. Optional activity table for the state
5. Example of the state diagram