|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.model.TransitionTarget
public abstract class TransitionTarget
An abstract base class for elements in SCXML that can serve as a <target> for a <transition>, such as State or Parallel.
| Constructor Summary | |
|---|---|
TransitionTarget()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addHistory(History h)
This method is used by XML digester. |
Datamodel |
getDatamodel()
Get the data model for this transition target. |
java.util.List |
getHistory()
Get the list of history pseudo states for this state. |
java.lang.String |
getId()
Get the identifier for this transition target (may be null). |
OnEntry |
getOnEntry()
Get the onentry property. |
OnExit |
getOnExit()
Get the onexit property. |
TransitionTarget |
getParent()
Get the parent TransitionTarget. |
State |
getParentState()
Get the parent State. |
boolean |
hasHistory()
Does this state have a history pseudo state. |
void |
setDatamodel(Datamodel datamodel)
Set the data model for this transition target. |
void |
setId(java.lang.String id)
Set the identifier for this transition target. |
void |
setOnEntry(OnEntry onEntry)
Set the onentry property. |
void |
setOnExit(OnExit onExit)
Set the onexit property. |
void |
setParent(TransitionTarget parent)
Set the parent TransitionTarget. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransitionTarget()
| Method Detail |
|---|
public final java.lang.String getId()
public final void setId(java.lang.String id)
id - The id to set.public final OnEntry getOnEntry()
public final void setOnEntry(OnEntry onEntry)
onEntry - The onEntry to set.public final OnExit getOnExit()
public final void setOnExit(OnExit onExit)
onExit - The onExit to set.public final Datamodel getDatamodel()
public final void setDatamodel(Datamodel datamodel)
datamodel - The Datamodel to set.public final TransitionTarget getParent()
public final void setParent(TransitionTarget parent)
parent - The parent state to setpublic final State getParentState()
public final void addHistory(History h)
h - History pseudo statepublic final boolean hasHistory()
public final java.util.List getHistory()
hasHistory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||