State Transition Details

I l @ ve RuBoard

A state transition may have an action and/or a guard condition associated with it and may also trigger an event. An action is behavior that occurs when the state transition occurs. An event is a message that is sent to another object in the system. A guard condition is a Boolean expression of attribute values that allows a state transition only if the condition is true. Both actions and guards are behaviors of the object and typically become operations. Often, these operations are privatethat is, they are used only by the object itself. The UML notation for state transition detailed information is shown in Figure 9-8.


  1. Right-click on the state transition arrow to make the shortcut menu visible.

  2. Select the Open Specification menu choice.

  3. Select the Detail tab.

  4. Enter the action, guard, and/or the event to be sent.

  5. Click the OK button to close the specification.

Figure 9-8. UML Notation for State Transition Details


State transition detail is shown in Figure 9-9.

Figure 9-9. State Transition Details


I l @ ve RuBoard

Visual Modeling with Rational Rose 2002 and UML
Visual Modeling with Rational Rose 2002 and UML (3rd Edition)
ISBN: 0201729326
EAN: 2147483647
Year: 2002
Pages: 134

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: