State Transitions

I l @ ve RuBoard

A state transition represents a change from an originating state to a successor state (which may be the same as the originating state). An action can accompany a state transition.

There are two ways to transition out of a stateautomatic and nonautomatic. An automatic state transition occurs when the activity of the originating state completesthere is no named event associated with the state transition. A nonautomatic state transition is caused by a named event (either from another object or from outside the system). Both types of state transitions are considered to take zero time and cannot be interrupted . A state transition is represented by an arrow that points from the originating state to the successor state.

CREATING STATE TRANSITIONS IN RATIONAL ROSE

graphics/quatranirose_icon.gif
  1. Click to select the State Transition icon from the toolbar.

  2. Click to select the originating state on the statechart diagram.

  3. Drag the state transition to the successor state.

  4. If the state transition is a named transition, enter the name while the state transition arrow is still selected.

State transitions are shown in Figure 9-4.

Figure 9-4. State Transitions

graphics/09fig04.jpg

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

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net