Statemachine Diagram: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Mathieu |
imported>Mathieu |
||
Line 5: | Line 5: | ||
[[Category:User Documentation]] | [[Category:User Documentation]] | ||
[[Category: | [[Category:UML-B]] |
Revision as of 07:02, 10 July 2008
Return to UML-B
State machines may be attached to classes, to states of another statemachine or simply at the Machine level. The transitions of a state machine represent events with the additional behaviour associated with the change of state defined by the transition. That is, the event can only occur when the instance is in the source state and, when it fires, the instance changes to the target state. Hence the state machine also models a class variable similar to an attribute. Additional guards and actions can be attached to the transition.