org.kuali.rice.kew.engine.node
Class RouteNodeInstance
java.lang.Object
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
RouteNodeInstance
public RouteNodeInstance()
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)
toString
public String toString()
- Overrides:
toString
in class Object
beforeInsert
public void beforeInsert()
to
public static RouteNodeInstance to(RouteNodeInstance routeNodeInstance)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.