org.kuali.rice.kew.rule
Class RuleExtensionBo
java.lang.Object
org.kuali.rice.kew.rule.RuleExtensionBo
- All Implemented Interfaces:
- Serializable, Versioned, RuleExtensionContract
@Entity
public class RuleExtensionBo
- extends Object
- implements RuleExtensionContract, Serializable
An extension of a RuleBaseValues
. Provides attribute-specific data
extensions to the rule for a particular RuleAttribute
. Contains
a List of RuleExtensionValue
s.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
RuleBaseValues
,
RuleAttribute
,
RuleExtensionValue
,
Serialized Form
RuleExtensionBo
public RuleExtensionBo()
beforeInsert
public void beforeInsert()
getExtensionValues
public List<RuleExtensionValue> getExtensionValues()
setExtensionValues
public void setExtensionValues(List<RuleExtensionValue> extensionValues)
getRuleTemplateAttribute
public RuleTemplateAttributeBo getRuleTemplateAttribute()
- Specified by:
getRuleTemplateAttribute
in interface RuleExtensionContract
getExtensionValuesMap
public Map<String,String> getExtensionValuesMap()
- Specified by:
getExtensionValuesMap
in interface RuleExtensionContract
setRuleTemplateAttribute
public void setRuleTemplateAttribute(RuleTemplateAttributeBo ruleTemplateAttribute)
getRuleExtensionValue
public RuleExtensionValue getRuleExtensionValue(int index)
getRuleBaseValues
public RuleBaseValues getRuleBaseValues()
setRuleBaseValues
public void setRuleBaseValues(RuleBaseValues ruleBaseValues)
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
setVersionNumber
public void setVersionNumber(Long versionNumber)
getRuleBaseValuesId
public String getRuleBaseValuesId()
setRuleBaseValuesId
public void setRuleBaseValuesId(String ruleBaseValuesId)
getRuleExtensionId
public String getRuleExtensionId()
setRuleExtensionId
public void setRuleExtensionId(String ruleExtensionId)
getRuleTemplateAttributeId
public String getRuleTemplateAttributeId()
setRuleTemplateAttributeId
public void setRuleTemplateAttributeId(String ruleTemplateAttributeId)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
to
public static RuleExtension to(RuleExtensionBo bo)
- Converts a mutable bo to its immutable counterpart
- Parameters:
bo
- the mutable business object
- Returns:
- the immutable object
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.