|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeCollection
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 |
---|
java.util.List getNodes()
java.util.Map getNodesMap()
Node getNode(java.lang.String name)
boolean hasNode(java.lang.String name)
Node addNode(Node node)
java.lang.IllegalArgumentException
- if node is null.Node removeNode(Node node)
java.lang.IllegalArgumentException
- if node is null or if the node is not contained in this nodecollection.void reorderNode(int oldIndex, int newIndex)
java.lang.IndexOutOfBoundsException
java.lang.String generateNodeName()
Node findNode(java.lang.String hierarchicalName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |