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

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.rule.RuleTemplateAttribute
All Implemented Interfaces:
Serializable, Comparable<RuleTemplateAttribute>, Inactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, RuleTemplateAttributeContract

public final class RuleTemplateAttribute
extends AbstractDataTransferObject
implements RuleTemplateAttributeContract, Comparable<RuleTemplateAttribute>

See Also:
Serialized Form

Nested Class Summary
static class RuleTemplateAttribute.Builder
          A builder which can be used to construct RuleTemplateAttribute instances.
 
Method Summary
 int compareTo(RuleTemplateAttribute ruleTemplateAttribute)
           
 String getDefaultValue()
           
 Integer getDisplayOrder()
           
 String getId()
          The unique identifier for an object.
 String getObjectId()
          Return the globally unique object id of this object.
 ExtensionDefinition getRuleAttribute()
           
 Map<String,String> getRuleExtensionMap()
           
 String getRuleTemplateId()
           
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isActive()
          The active indicator for an object.
 boolean isRequired()
           
 
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

getDefaultValue

public String getDefaultValue()
Specified by:
getDefaultValue in interface RuleTemplateAttributeContract

getRuleTemplateId

public String getRuleTemplateId()
Specified by:
getRuleTemplateId in interface RuleTemplateAttributeContract

isRequired

public boolean isRequired()
Specified by:
isRequired in interface RuleTemplateAttributeContract

getDisplayOrder

public Integer getDisplayOrder()
Specified by:
getDisplayOrder in interface RuleTemplateAttributeContract

getRuleAttribute

public ExtensionDefinition getRuleAttribute()
Specified by:
getRuleAttribute in interface RuleTemplateAttributeContract

getRuleExtensionMap

public Map<String,String> getRuleExtensionMap()
Specified by:
getRuleExtensionMap in interface RuleTemplateAttributeContract

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

isActive

public boolean isActive()
Description copied from interface: Inactivatable
The active indicator for an object.

Specified by:
isActive in interface Inactivatable
Returns:
true if active false if not.

compareTo

public int compareTo(RuleTemplateAttribute ruleTemplateAttribute)
Specified by:
compareTo in interface Comparable<RuleTemplateAttribute>


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