Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
State
A state machine defines a small number of named states. A state can be characterized in three complementary ways: as a set of object values that are qualitatively similar in some respect; as a period of time during which an object waits for some event or events to occur; or as a period of time during which an object performs some ongoing do activity. A state may have a name, although often it is anonymous and is described simply by its effects and relationships. In effects, states are the units of control from which state machines are constructed.
In a state machine, a set of states is connected by transitions. A transition connects two states (or more, if there is a fork or join of control). A transition is processed by the state that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access