org.apache.taglibs.rdc.scxml.model
Class Parallel

java.lang.Object
  extended by org.apache.taglibs.rdc.scxml.model.TransitionTarget
      extended by org.apache.taglibs.rdc.scxml.model.Parallel
All Implemented Interfaces:
Observable

public class Parallel
extends TransitionTarget

The class in this SCXML object model that corresponds to the <parallel> SCXML element, which is a wrapper element to encapsulate parallel state machines. For the <parallel> element to be useful, each of its <state> substates must itself be complex, that is, one with either <state> or <parallel> children.

Author:
Rahul Akolkar, Jaroslav Gergic

Constructor Summary
Parallel()
          Constructor
 
Method Summary
 void addState(State state)
          Add a State to the list of parallel state machines contained in this Parallel.
 java.util.Set getStates()
          Get the set of parallel state machines contained in this Parallel.
 
Methods inherited from class org.apache.taglibs.rdc.scxml.model.TransitionTarget
addListener, getId, getNotificationRegistry, getOnEntry, getOnExit, getParent, getParentState, removeListener, setId, setNotificationRegistry, setOnEntry, setOnExit, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parallel

public Parallel()
Constructor

Method Detail

getStates

public java.util.Set getStates()
Get the set of parallel state machines contained in this Parallel.

Returns:
Returns the state.

addState

public void addState(State state)
Add a State to the list of parallel state machines contained in this Parallel.

Parameters:
state - The state to add.


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.