Class ProcessDefinition

  extended by
      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
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Method Detail


public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
the id


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


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


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


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


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
the version number, or null if one has not been assigned yet

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