org.kuali.rice.kew.api.extension
Class ExtensionDefinition

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

public final class ExtensionDefinition
extends AbstractDataTransferObject
implements ExtensionDefinitionContract

Immutable implementation of the ExtensionDefinitionContract. Defines an extension to some component of Kuali Enterprise Workflow.

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

Nested Class Summary
static class ExtensionDefinition.Builder
          A builder which can be used to construct ExtensionDefinition instances.
 
Method Summary
 String getApplicationId()
           
 Map<String,String> getConfiguration()
           
 String getDescription()
           
 String getId()
          The unique identifier for an object.
 String getLabel()
           
 String getName()
           
 String getResourceDescriptor()
          Retrieves the resource descriptor for this extension.
 String getType()
           
 Long getVersionNumber()
          Returns the version number for this object.
 
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 ExtensionDefinitionContract

getApplicationId

public String getApplicationId()
Specified by:
getApplicationId in interface ExtensionDefinitionContract

getLabel

public String getLabel()
Specified by:
getLabel in interface ExtensionDefinitionContract

getDescription

public String getDescription()
Specified by:
getDescription in interface ExtensionDefinitionContract

getType

public String getType()
Specified by:
getType in interface ExtensionDefinitionContract

getResourceDescriptor

public String getResourceDescriptor()
Description copied from interface: ExtensionDefinitionContract
Retrieves the resource descriptor for this extension. This gives the calling code the information it needs to locate and execute the extension resource if it needs to.

Specified by:
getResourceDescriptor in interface ExtensionDefinitionContract
Returns:
the resource descriptor for this extension, this value should never be blank or null

getConfiguration

public Map<String,String> getConfiguration()
Specified by:
getConfiguration in interface ExtensionDefinitionContract

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 © 2004-2011 The Kuali Foundation. All Rights Reserved.