| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.model.TransitionTarget
org.apache.commons.scxml.model.Parallel
public class Parallel
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.
| Constructor Summary | |
|---|---|
Parallel()
Constructor.  | 
|
| Method Summary | |
|---|---|
 void | 
addChild(TransitionTarget tt)
Add a child.  | 
 void | 
addState(State state)
Deprecated. Use addChild(TransitionTarget) instead.  | 
 Set | 
getChildren()
Get the set of child transition targets (may be empty).  | 
 Set | 
getStates()
Deprecated. Use getChildren() instead.  | 
| Methods inherited from class org.apache.commons.scxml.model.TransitionTarget | 
|---|
addHistory, getDatamodel, getHistory, getId, getOnEntry, getOnExit, getParent, getParentState, hasHistory, setDatamodel, setId, setOnEntry, setOnExit, setParent | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Parallel()
| Method Detail | 
|---|
public final Set getStates()
public final void addState(State state)
state - The state to add.public final Set getChildren()
public final void addChild(TransitionTarget tt)
tt - A child transition target.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||