org.kuali.rice.kew.rule.bo
Class RuleTemplateAttribute
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kew.rule.bo.RuleTemplateAttribute
- All Implemented Interfaces:
- Serializable, Comparable<RuleTemplateAttribute>, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, MutableInactivatable, PersistableBusinessObject
@Entity
public class RuleTemplateAttribute
- extends PersistableBusinessObjectBase
- implements Comparable<RuleTemplateAttribute>, MutableInactivatable
A model bean which services as the link between a RuleTemplate
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 |
RuleTemplateAttribute
public RuleTemplateAttribute()
compareTo
public int compareTo(RuleTemplateAttribute ruleTemplateAttribute)
- Specified by:
compareTo
in interface Comparable<RuleTemplateAttribute>
getAttribute
public Object getAttribute()
isWorkflowAttribute
public boolean isWorkflowAttribute()
isRuleValidationAttribute
public boolean isRuleValidationAttribute()
getWorkflowAttribute
public WorkflowAttribute 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<RuleExtension> getRuleExtensions()
setRuleExtensions
public void setRuleExtensions(List<RuleExtension> ruleExtensions)
getRuleAttribute
public RuleAttribute getRuleAttribute()
setRuleAttribute
public void setRuleAttribute(RuleAttribute ruleAttribute)
getRuleTemplate
public RuleTemplate getRuleTemplate()
setRuleTemplate
public void setRuleTemplate(RuleTemplate ruleTemplate)
getDefaultValue
public String getDefaultValue()
setDefaultValue
public void setDefaultValue(String defaultValue)
getDisplayOrder
public Integer getDisplayOrder()
setDisplayOrder
public void setDisplayOrder(Integer displayOrder)
isRequired
public boolean isRequired()
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)
getRuleTemplateAttributeId
public String getRuleTemplateAttributeId()
setRuleTemplateAttributeId
public void setRuleTemplateAttributeId(String ruleTemplateAttributeId)
getRuleTemplateId
public String getRuleTemplateId()
setRuleTemplateId
public void setRuleTemplateId(String ruleTemplateId)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.