org.kuali.rice.kew.api.rule
Class RuleTemplate

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.rule.RuleTemplate
All Implemented Interfaces:
Serializable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, RuleTemplateContract

public final class RuleTemplate
extends AbstractDataTransferObject
implements RuleTemplateContract

See Also:
Serialized Form

Nested Class Summary
static class RuleTemplate.Builder
          A builder which can be used to construct RuleTemplate instances.
static class RuleTemplate.Cache
           
 
Method Summary
 List<RuleTemplateAttribute> getActiveRuleTemplateAttributes()
           
 RuleTemplate getDelegationTemplate()
           
 String getDescription()
           
 String getId()
          The unique identifier for an object.
 String getName()
           
 String getObjectId()
          Return the globally unique object id of this object.
 List<RuleTemplateAttribute> getRuleTemplateAttributes()
           
 List<RuleTemplateOption> getRuleTemplateOptions()
           
 Long getVersionNumber()
          Returns the version number for this object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

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

getDescription

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

getDelegationTemplate

public RuleTemplate getDelegationTemplate()
Specified by:
getDelegationTemplate in interface RuleTemplateContract

getRuleTemplateAttributes

public List<RuleTemplateAttribute> getRuleTemplateAttributes()
Specified by:
getRuleTemplateAttributes in interface RuleTemplateContract

getActiveRuleTemplateAttributes

public List<RuleTemplateAttribute> getActiveRuleTemplateAttributes()

getRuleTemplateOptions

public List<RuleTemplateOption> getRuleTemplateOptions()
Specified by:
getRuleTemplateOptions in interface RuleTemplateContract

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

getObjectId

public String getObjectId()
Description copied from interface: GloballyUnique
Return the globally unique object id of this object. In general, this value should only be null if the object has not yet been stored to a persistent data store.

Specified by:
getObjectId in interface GloballyUnique
Returns:
the objectId of this object, or null if it has not been set yet


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