org.jbpm.workflow.core.impl
Class NodeContainerImpl

java.lang.Object
  extended by org.jbpm.workflow.core.impl.NodeContainerImpl
All Implemented Interfaces:
Serializable, NodeContainer

public class NodeContainerImpl
extends Object
implements Serializable, NodeContainer

See Also:
Serialized Form

Constructor Summary
NodeContainerImpl()
           
 
Method Summary
 void addNode(Node node)
          Method for adding a node to this node container.
 Node getNode(long id)
           
 Node[] getNodes()
           
 Node internalGetNode(long id)
           
 void removeNode(Node node)
          Method for removing a node from this node container
 Context resolveContext(String contextId, Object param)
           
protected  void validateAddNode(Node node)
           
protected  void validateRemoveNode(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeContainerImpl

public NodeContainerImpl()
Method Detail

addNode

public void addNode(Node node)
Description copied from interface: NodeContainer
Method for adding a node to this node container. Note that the node will get an id unique for this node container.

Parameters:
node - the node to be added

validateAddNode

protected void validateAddNode(Node node)

getNodes

public Node[] getNodes()
Specified by:
getNodes in interface NodeContainer

getNode

public Node getNode(long id)
Specified by:
getNode in interface NodeContainer

internalGetNode

public Node internalGetNode(long id)

removeNode

public void removeNode(Node node)
Description copied from interface: NodeContainer
Method for removing a node from this node container

Parameters:
node - the node to be removed

validateRemoveNode

protected void validateRemoveNode(Node node)

resolveContext

public Context resolveContext(String contextId,
                              Object param)


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.