org.kuali.rice.kew.rule
Class RuleTemplateOptionBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.kew.rule.RuleTemplateOptionBo
- All Implemented Interfaces:
- Serializable, Identifiable, Versioned, ModelObjectBasic, RuleTemplateOptionContract, BusinessObject
@Entity
public class RuleTemplateOptionBo
- extends BusinessObjectBase
- implements RuleTemplateOptionContract
Defines default values and other preset information for a RuleBaseValues
which is based off of the associated RuleTemplateBo
.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
RuleBaseValues
,
RuleTemplateBo
,
Serialized Form
RuleTemplateOptionBo
public RuleTemplateOptionBo()
RuleTemplateOptionBo
public RuleTemplateOptionBo(String key,
String value)
beforeInsert
public void beforeInsert()
getCode
public String getCode()
- Specified by:
getCode
in interface RuleTemplateOptionContract
setCode
public void setCode(String code)
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)
getRuleTemplate
public RuleTemplateBo getRuleTemplate()
setRuleTemplate
public void setRuleTemplate(RuleTemplateBo ruleTemplate)
getRuleTemplateId
public String getRuleTemplateId()
- Specified by:
getRuleTemplateId
in interface RuleTemplateOptionContract
setRuleTemplateId
public void setRuleTemplateId(String ruleTemplateId)
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
setId
public void setId(String id)
getValue
public String getValue()
- Specified by:
getValue
in interface RuleTemplateOptionContract
setValue
public void setValue(String value)
refresh
public void refresh()
- Description copied from interface:
BusinessObject
- Refreshes any reference objects from the primitive values.
- Specified by:
refresh
in interface BusinessObject
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.