|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Form| Constructor Summary | |
|---|---|
RuleTemplateOptionBo()
|
|
RuleTemplateOptionBo(String key,
String value)
|
|
| Method Summary | |
|---|---|
void |
beforeInsert()
|
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 void beforeInsert()
public String getCode()
getCode in interface RuleTemplateOptionContractpublic void setCode(String code)
public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public RuleTemplateBo getRuleTemplate()
public void setRuleTemplate(RuleTemplateBo ruleTemplate)
public String getRuleTemplateId()
getRuleTemplateId in interface RuleTemplateOptionContractpublic void setRuleTemplateId(String ruleTemplateId)
public String getId()
Identifiable
getId in interface Identifiablepublic void setId(String id)
public String getValue()
getValue in interface RuleTemplateOptionContractpublic void setValue(String value)
public 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 BusinessObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||