|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
is a common supertype for a ProcessDefinition and a SuperState.
Method Summary | |
Node |
addNode(Node node)
adds the given node to this node-collection. |
Node |
findNode(java.lang.String hierarchicalName)
finds the node by the given hierarchical name. |
java.lang.String |
generateNodeName()
generates a new name for a node to be added to this collection. |
Node |
getNode(java.lang.String name)
retrieves a node by name. |
java.util.List |
getNodes()
is the ordered list of nodes. |
java.util.Map |
getNodesMap()
maps node-names to nodes. |
boolean |
hasNode(java.lang.String name)
is true if this node-collection contains a node with the given name, false otherwise. |
Node |
removeNode(Node node)
removes the given node from this node-collection. |
void |
reorderNode(int oldIndex,
int newIndex)
changes the order of the nodes : the node on oldIndex is removed and inserted in the newIndex. |
Method Detail |
public java.util.List getNodes()
public java.util.Map getNodesMap()
public Node getNode(java.lang.String name)
public boolean hasNode(java.lang.String name)
public Node addNode(Node node)
java.lang.IllegalArgumentException
- if node is null.public Node removeNode(Node node)
java.lang.IllegalArgumentException
- if node is null or if the node is not contained in this nodecollection.public void reorderNode(int oldIndex, int newIndex)
java.lang.IndexOutOfBoundsException
public java.lang.String generateNodeName()
public Node findNode(java.lang.String hierarchicalName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |