|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.metro.tools.StateDataType
public class StateDataType
Utility datatype supporting State instance construction.
Method Summary | |
---|---|
InterfaceDataType |
createInterface()
Add an interface within this state. |
OperationDataType |
createOperation()
Add an operation within this state. |
StateDataType |
createState()
Add a substate within the state. |
TransitionDataType |
createTransition()
Add an transition within this state. |
TriggerDataType |
createTrigger()
Add an trigger to the state. |
void |
setClass(String classname)
Set a classname from which to resolve an embedded state graph. |
void |
setName(String name)
Set the state name. |
void |
setTerminal(boolean flag)
Mark the state as a terminal state. |
void |
setUri(URI uri)
Set a uri from which to resolve an encoded state graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setName(String name)
name
- the name of the statepublic void setUri(URI uri)
uri
- a uri referencing a state graph artifactpublic void setClass(String classname)
classname
- the classname of a class containing a collocated xgraph resourcepublic void setTerminal(boolean flag)
flag
- true if this is a terminal statepublic StateDataType createState()
public OperationDataType createOperation()
public InterfaceDataType createInterface()
public TransitionDataType createTransition()
public TriggerDataType createTrigger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |