org.kuali.rice.kew.engine.node
Class RouteNodeInstance

java.lang.Object
  extended by org.kuali.rice.kew.engine.node.RouteNodeInstance
All Implemented Interfaces:
Serializable

@Entity
public class RouteNodeInstance
extends Object
implements Serializable

Represents a materialized instance of a RouteNode definition on a DocumentRouteHeaderValue. Node instances are generated by the engine using the RouteNode as a prototype and connected as a Directed Acyclic Graph.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
RouteNodeInstance()
           
 
Method Summary
 void addNextNodeInstance(RouteNodeInstance nextNodeInstance)
           
 void addNodeState(NodeState state)
           
 void beforeInsert()
           
 void clearNextNodeInstances()
           
 Branch getBranch()
           
 String getDocumentId()
           
 DocumentType getDocumentType()
           
 List<DocumentRouteHeaderValue> getInitialDocumentRouteHeaderValues()
           
 Integer getLockVerNbr()
           
 String getName()
           
 RouteNodeInstance getNextNodeInstance(int index)
           
 List<RouteNodeInstance> getNextNodeInstances()
           
 NodeState getNodeState(String key)
           
 NodeState getNodeStateByIndex(int index)
           
 RouteNodeInstance getPreviousNodeInstance(int index)
           
 List<RouteNodeInstance> getPreviousNodeInstances()
           
 RouteNodeInstance getProcess()
           
 RouteNode getRouteNode()
           
 String getRouteNodeInstanceId()
           
 List<NodeState> getState()
           
 boolean isActive()
           
 boolean isComplete()
           
 boolean isInitial()
           
 boolean isInProcess()
           
 void populateState(List<NodeState> state)
           
 void removeNextNodeInstance(RouteNodeInstance nextNodeInstance)
           
 void removeNodeState(String key)
           
 void setActive(boolean active)
           
 void setBranch(Branch branch)
           
 void setComplete(boolean complete)
           
 void setDocumentId(String documentId)
           
 void setInitial(boolean initial)
           
 void setInitialDocumentRouteHeaderValues(List<DocumentRouteHeaderValue> initialDocumentRouteHeaderValues)
           
 void setLockVerNbr(Integer lockVerNbr)
           
 void setNextNodeInstances(List<RouteNodeInstance> nextNodeInstances)
           
 void setPreviousNodeInstances(List<RouteNodeInstance> previousNodeInstances)
           
 void setProcess(RouteNodeInstance process)
           
 void setRouteNode(RouteNode node)
           
 void setRouteNodeInstanceId(String routeNodeInstanceId)
           
 void setState(List<NodeState> state)
           
static RouteNodeInstance to(RouteNodeInstance routeNodeInstance)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteNodeInstance

public RouteNodeInstance()
Method Detail

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

isComplete

public boolean isComplete()

setComplete

public void setComplete(boolean complete)

getBranch

public Branch getBranch()

setBranch

public void setBranch(Branch branch)

getRouteNode

public RouteNode getRouteNode()

setRouteNode

public void setRouteNode(RouteNode node)

getRouteNodeInstanceId

public String getRouteNodeInstanceId()

setRouteNodeInstanceId

public void setRouteNodeInstanceId(String routeNodeInstanceId)

getDocumentId

public String getDocumentId()

setDocumentId

public void setDocumentId(String documentId)

getNextNodeInstances

public List<RouteNodeInstance> getNextNodeInstances()

getNextNodeInstance

public RouteNodeInstance getNextNodeInstance(int index)

setNextNodeInstances

public void setNextNodeInstances(List<RouteNodeInstance> nextNodeInstances)

getPreviousNodeInstances

public List<RouteNodeInstance> getPreviousNodeInstances()

getPreviousNodeInstance

public RouteNodeInstance getPreviousNodeInstance(int index)

setPreviousNodeInstances

public void setPreviousNodeInstances(List<RouteNodeInstance> previousNodeInstances)

isInitial

public boolean isInitial()

setInitial

public void setInitial(boolean initial)

getState

public List<NodeState> getState()

setState

public void setState(List<NodeState> state)

getProcess

public RouteNodeInstance getProcess()

setProcess

public void setProcess(RouteNodeInstance process)

getLockVerNbr

public Integer getLockVerNbr()

setLockVerNbr

public void setLockVerNbr(Integer lockVerNbr)

getNodeState

public NodeState getNodeState(String key)

addNodeState

public void addNodeState(NodeState state)

removeNodeState

public void removeNodeState(String key)

addNextNodeInstance

public void addNextNodeInstance(RouteNodeInstance nextNodeInstance)

removeNextNodeInstance

public void removeNextNodeInstance(RouteNodeInstance nextNodeInstance)

clearNextNodeInstances

public void clearNextNodeInstances()

getName

public String getName()

isInProcess

public boolean isInProcess()

getDocumentType

public DocumentType getDocumentType()

getNodeStateByIndex

public NodeState getNodeStateByIndex(int index)

populateState

public void populateState(List<NodeState> state)

getInitialDocumentRouteHeaderValues

public List<DocumentRouteHeaderValue> getInitialDocumentRouteHeaderValues()

setInitialDocumentRouteHeaderValues

public void setInitialDocumentRouteHeaderValues(List<DocumentRouteHeaderValue> initialDocumentRouteHeaderValues)

toString

public String toString()
Overrides:
toString in class Object

beforeInsert

public void beforeInsert()

to

public static RouteNodeInstance to(RouteNodeInstance routeNodeInstance)


Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.