A state is a constraint or a situation in the life cycle of an object, in which a constraint holds, the object executes an activity or waits for an event. 状态是一个对象的生命周期中的一种约束或者情况,在该约束下,该对象执行一个动作或者等待一个事件。 A state machine diagram is a graph c...
A state is a constraint or a situation in the life cycle of an object, in which a constraint holds, the object executes an activity or waits for an event. A state machine diagram is a graph consisting of: States (simple states or composite states) ...
State machine diagram typically are used to describe state-dependent behavior for an object.An object responds differently to the same event depending on what state it is in. State machine diagrams are usually applied to objects but can be applied to any element that has behavior to other entiti...