org.kuali.rice.kew.api.doctype
Class ProcessDefinition

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.doctype.ProcessDefinition
All Implemented Interfaces:
Serializable, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, ProcessDefinitionContract

public final class ProcessDefinition
extends AbstractDataTransferObject
implements ProcessDefinitionContract

See Also:
Serialized Form

Nested Class Summary
static class ProcessDefinition.Builder
          A builder which can be used to construct ProcessDefinition instances.
 
Method Summary
 String getDocumentTypeId()
           
 String getId()
          The unique identifier for an object.
 RouteNodeContract getInitialRouteNode()
           
 String getName()
           
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isInitial()
           
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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

getName

public String getName()
Specified by:
getName in interface ProcessDefinitionContract

getDocumentTypeId

public String getDocumentTypeId()
Specified by:
getDocumentTypeId in interface ProcessDefinitionContract

getInitialRouteNode

public RouteNodeContract getInitialRouteNode()
Specified by:
getInitialRouteNode in interface ProcessDefinitionContract
Returns:
the initial route node for the process. May be null.

isInitial

public boolean isInitial()
Specified by:
isInitial in interface ProcessDefinitionContract

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


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