org.kuali.rice.kew.rule.bo
Class RuleTemplateAttributeBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kew.rule.bo.RuleTemplateAttributeBo
- All Implemented Interfaces:
- Serializable, Comparable<RuleTemplateAttributeBo>, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, MutableInactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, RuleTemplateAttributeContract, BusinessObject, PersistableBusinessObject
@Entity
public class RuleTemplateAttributeBo
- extends PersistableBusinessObjectBase
- implements Comparable<RuleTemplateAttributeBo>, MutableInactivatable, RuleTemplateAttributeContract
A model bean which services as the link between a RuleTemplateBo
and
a RuleAttribute
.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
RuleTemplateAttributeBo
public RuleTemplateAttributeBo()
compareTo
public int compareTo(RuleTemplateAttributeBo ruleTemplateAttribute)
- Specified by:
compareTo
in interface Comparable<RuleTemplateAttributeBo>
getAttribute
public Object getAttribute()
isWorkflowAttribute
public boolean isWorkflowAttribute()
isRuleValidationAttribute
public boolean isRuleValidationAttribute()
getWorkflowAttribute
public WorkflowRuleAttribute getWorkflowAttribute()
- Instantiates and returns a new instance of the WorkflowAttribute class configured on this template.
The calling code should be sure to call isWorkflowAttribute first to verify the type of this attribute
is that of a WorkflowAttribute. Otherwise a RuntimeException will be thrown.
getRuleValidationAttribute
public RuleValidationAttribute getRuleValidationAttribute()
- Instantiates and returns a new instance of the RuleValidationAttribute class configured on this template.
The calling code should be sure to call isRuleValidationAttribute first to verify the type of this attribute
is that of a RuleValidationAttribute. Otherwise a RuntimeException will be thrown.
getRuleExtensions
public List<RuleExtensionBo> getRuleExtensions()
getRuleExtensionMap
public Map<String,String> getRuleExtensionMap()
- Specified by:
getRuleExtensionMap
in interface RuleTemplateAttributeContract
setRuleExtensions
public void setRuleExtensions(List<RuleExtensionBo> ruleExtensions)
getRuleAttribute
public RuleAttribute getRuleAttribute()
- Specified by:
getRuleAttribute
in interface RuleTemplateAttributeContract
setRuleAttribute
public void setRuleAttribute(RuleAttribute ruleAttribute)
getRuleTemplate
public RuleTemplateBo getRuleTemplate()
setRuleTemplate
public void setRuleTemplate(RuleTemplateBo ruleTemplate)
getDefaultValue
public String getDefaultValue()
- Specified by:
getDefaultValue
in interface RuleTemplateAttributeContract
setDefaultValue
public void setDefaultValue(String defaultValue)
getDisplayOrder
public Integer getDisplayOrder()
- Specified by:
getDisplayOrder
in interface RuleTemplateAttributeContract
setDisplayOrder
public void setDisplayOrder(Integer displayOrder)
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interface RuleTemplateAttributeContract
getRequired
public Boolean getRequired()
setRequired
public void setRequired(Boolean required)
isActive
public boolean isActive()
- Description copied from interface:
Inactivatable
- The active indicator for an object.
- Specified by:
isActive
in interface Inactivatable
- Returns:
- true if active false if not.
getActive
public Boolean getActive()
setActive
public void setActive(Boolean active)
setActive
public void setActive(boolean active)
- Description copied from interface:
MutableInactivatable
- Sets the record to active or inactive.
- Specified by:
setActive
in interface MutableInactivatable
getRuleAttributeId
public String getRuleAttributeId()
setRuleAttributeId
public void setRuleAttributeId(String ruleAttributeId)
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)
getRuleTemplateId
public String getRuleTemplateId()
- Specified by:
getRuleTemplateId
in interface RuleTemplateAttributeContract
setRuleTemplateId
public void setRuleTemplateId(String ruleTemplateId)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.