org.kuali.rice.kew.engine.node
Class ProcessDefinitionBo
java.lang.Object
org.kuali.rice.kew.engine.node.ProcessDefinitionBo
- All Implemented Interfaces:
- Serializable, Identifiable, Versioned, ProcessDefinitionContract
@Entity
public class ProcessDefinitionBo
- extends Object
- implements Serializable, ProcessDefinitionContract
Represents a route path defined on a DocumentType
. A ProcessDefinition is a named entity which
simply points to an initial RouteNode
which represents the beginning of the ProcessDefinition.
The path of the process can then be followed using the next nodes defined on the route nodes.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessDefinitionBo
public ProcessDefinitionBo()
getProcessId
public String getProcessId()
setProcessId
public void setProcessId(String processId)
getDocumentType
public DocumentType getDocumentType()
setDocumentType
public void setDocumentType(DocumentType documentType)
getInitialRouteNode
public RouteNode getInitialRouteNode()
- Specified by:
getInitialRouteNode
in interface ProcessDefinitionContract
setInitialRouteNode
public void setInitialRouteNode(RouteNode initialRouteNode)
getName
public String getName()
- Specified by:
getName
in interface ProcessDefinitionContract
setName
public void setName(String name)
isInitial
public boolean isInitial()
- Specified by:
isInitial
in interface ProcessDefinitionContract
setInitial
public void setInitial(boolean initial)
getLockVerNbr
public Integer getLockVerNbr()
setLockVerNbr
public void setLockVerNbr(Integer lockVerNbr)
beforeInsert
public void beforeInsert()
getId
public String getId()
- Description copied from interface:
Identifiable
- The unique identifier for an object. This can be null.
- Specified by:
getId
in interface Identifiable
- Returns:
- the id
getVersionNumber
public Long getVersionNumber()
- Description copied from interface:
Versioned
- Returns the version number for this object. In general, this value should only
be null if the object has not yet been stored to a persistent data store.
This version number is generally used for the purposes of optimistic locking.
- Specified by:
getVersionNumber
in interface Versioned
- Returns:
- the version number, or null if one has not been assigned yet
getDocumentTypeId
public String getDocumentTypeId()
- Specified by:
getDocumentTypeId
in interface ProcessDefinitionContract
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.