Transition

A transition leaving a state defines the response of an object in the state to the occurrence of an event. In general, a transition has an event trigger, a guard condition, an effect, and a target state. Table 7-2 shows kinds of transitions and implicit effects invoked by transitions.

Table 7-2. Kinds of Transitions and Implicit Effects
Transition KindDescriptionSyntax
entry transitionThe specification of an entry activity that is executed when a state is enteredentry/ activity
exit transitionThe specification of an exit activity that is executed when a state is exitedexit/ activity
external transitionA response to an event that causes a change of state or a self-transition, together with a specified effect. It may also cause the execution ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.