@Entity public class RuleTemplateOptionBo extends BusinessObjectBase implements RuleTemplateOptionContract
RuleBaseValues
which is based off of the associated RuleTemplateBo.RuleBaseValues,
RuleTemplateBo,
Serialized Form| Constructor and Description |
|---|
RuleTemplateOptionBo() |
RuleTemplateOptionBo(String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getId()
The unique identifier for an object.
|
RuleTemplateBo |
getRuleTemplate() |
String |
getRuleTemplateId() |
String |
getValue() |
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
refresh()
Invoked to refresh business objects related to the parent based on their key field values
|
void |
setCode(String code) |
void |
setId(String id) |
void |
setRuleTemplate(RuleTemplateBo ruleTemplate) |
void |
setRuleTemplateId(String ruleTemplateId) |
void |
setValue(String value) |
void |
setVersionNumber(Long versionNumber) |
toStringpublic RuleTemplateOptionBo()
public RuleTemplateOptionBo(String key, String value)
public String getCode()
getCode in interface RuleTemplateOptionContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public RuleTemplateBo getRuleTemplate()
public void setRuleTemplate(RuleTemplateBo ruleTemplate)
public String getRuleTemplateId()
getRuleTemplateId in interface RuleTemplateOptionContractpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getValue()
getValue in interface RuleTemplateOptionContractpublic void refresh()
BusinessObjectDuring processing (for example accepting user input) the field values that participate in relationships can become out of sync with the related business objects (for example: suppose our business object has a property name bookId with a related object of type Book that contains the id property. If the user changes the value for the bookId property, our id property on the related book and the associated information is still pointing to the previous book id). This method is invoked to indicate the related objects should be refreshed based on their related keys. For @{link PersistableBusinessObject} implementations, most refreshes can be handled by the ORM tool
refresh in interface BusinessObjectpublic void setRuleTemplateId(String ruleTemplateId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.