Specifying the features of a statechart transition
About this task
You can create the following types of statechart transitions:
- Compound transitions
- Forks
- Joins
Use the Features window to add and change the features for a transition.
A statechart transition has the following General tab features:
- Name specifies the name of the transition.
- L specifies the label for the element, if any.
- Stereotype specifies the stereotype of the
element, if any. They are enclosed in guillemets, for example
«s1»
and enable you to tag classes for documentation purposes.- To select from a list of current stereotypes in the project, click the Select Stereotype button .
- To sort the order of the selected stereotypes,
click the Change Stereotype Order button . Note: The COM stereotypes are constructive; that is, they affect code generation.
- Target specifies the target of the transition. This field is read-only.
- Trigger specifies the trigger for the transition. See Specifying a trigger.
- Guard specifies the guard for a transition.
The Overridden check box is available in the Features windows for textual information in statecharts (state entry and exit actions, and guards and actions for transitions and static reactions). By enabling or disabling this check box, you can easily override and unoverride statechart inheritance without actually changing the model. As you toggle the check box on and off, you can view the inherited information in each of the window fields, and can decide whether to apply the information or revert to the currently overridden information. For more information, see Overriding statechart textual information. - Action specifies the transition action.