@Entity public class RuleTemplateOptionBo extends BusinessObjectBase implements RuleTemplateOptionContract
RuleBaseValues
which is based off of the associated RuleTemplateBo
.RuleBaseValues
,
RuleTemplateBo
,
Serialized FormConstructor 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) |
toString
public RuleTemplateOptionBo()
public RuleTemplateOptionBo(String key, String value)
public String getCode()
getCode
in interface RuleTemplateOptionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public RuleTemplateBo getRuleTemplate()
public void setRuleTemplate(RuleTemplateBo ruleTemplate)
public String getRuleTemplateId()
getRuleTemplateId
in interface RuleTemplateOptionContract
public String getId()
Identifiable
getId
in interface Identifiable
public String getValue()
getValue
in interface RuleTemplateOptionContract
public void refresh()
BusinessObject
During 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 BusinessObject
public void setRuleTemplateId(String ruleTemplateId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.