|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.kew.rule.RuleTemplateOptionBo
@Entity public class RuleTemplateOptionBo
Defines default values and other preset information for a RuleBaseValues
which is based off of the associated RuleTemplateBo
.
RuleBaseValues
,
RuleTemplateBo
,
Serialized FormConstructor Summary | |
---|---|
RuleTemplateOptionBo()
|
|
RuleTemplateOptionBo(String key,
String value)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuleTemplateOptionBo()
public RuleTemplateOptionBo(String key, String value)
Method Detail |
---|
public String getCode()
getCode
in interface RuleTemplateOptionContract
public void setCode(String code)
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 void setId(String id)
public String getValue()
getValue
in interface RuleTemplateOptionContract
public void setValue(String value)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |