Method Summary |
|
final public void | addChild(State state) Add a child state. |
final public void | addHistory(History h) This method is used by XML digester. |
final public void | addTransition(Transition transition) Add a transition to the map of all outgoing transitions for
this state. |
final public Map | getChildren() Get the map of child states (may be empty). |
final public List | getHistory() Get the list of history pseudo states for this state. |
final public Initial | getInitial() Get the initial state. |
final public Invoke | getInvoke() Get the Invoke child (may be null). |
final public boolean | getIsFinal() Is this state a "final" state. |
final public Parallel | getParallel() Get the Parallel child (may be null). |
final public Map | getTransitions() Get the map of all outgoing transitions from this state. |
final public List | getTransitionsList(String event) Get the list of all outgoing transitions from this state, that
will be candidates for being fired on the given event. |
final public List | getTransitionsList() Get the outgoing transitions for this state as a java.util.List.
List Returns the transitions (as a list). |
final public boolean | hasHistory() Does this state have a history pseudo state. |
final public boolean | isComposite() Check whether this is a composite state (UML terminology). |
final public boolean | isDone() In case this is a parallel state, check if one its final states
is active. |
final public boolean | isOrthogonal() Checks whether it is a orthogonal state, that is, it owns a parallel
(UML terminology). |
final public boolean | isRegion() Checks whether it is a region state (directly nested to parallel - UML
terminology). |
final public boolean | isSimple() Check whether this is a simple (leaf) state (UML terminology). |
final public void | setDone(boolean done) Update the done property, which is set if this is a parallel state,
and one its final states is active. |
final public void | setInitial(Initial target) Set the initial state. |
final public void | setInvoke(Invoke invoke) Set the Invoke child. |
final public void | setIsFinal(boolean isFinal) Set whether this is a "final" state. |
final public void | setParallel(Parallel parallel) Set the Parallel child. |