Package 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,Cloneable,Comparable<RuleTemplateAttributeBo>,org.apache.ojb.broker.PersistenceBrokerAware,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.internal.weaving.PersistenceWeavedRest,org.eclipse.persistence.queries.FetchGroupTracker,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.active.MutableInactivatable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Identifiable,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.kew.api.rule.RuleTemplateAttributeContract,org.kuali.rice.krad.bo.BusinessObject,org.kuali.rice.krad.bo.PersistableBusinessObject
@Entity
public class RuleTemplateAttributeBo
extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
implements Comparable<RuleTemplateAttributeBo>, org.kuali.rice.core.api.mo.common.active.MutableInactivatable, org.kuali.rice.kew.api.rule.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:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, newCollectionRecord, objectId, versionNumberFields inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(RuleTemplateAttributeBo ruleTemplateAttribute) getId()Instantiates and returns a new instance of the RuleValidationAttribute class configured on this template.Instantiates and returns a new instance of the WorkflowAttribute class configured on this template.booleanisActive()booleanbooleanbooleanvoidsetActive(boolean active) voidvoidsetDefaultValue(String defaultValue) voidsetDisplayOrder(Integer displayOrder) voidvoidsetRequired(Boolean required) voidsetRuleAttribute(RuleAttribute ruleAttribute) voidsetRuleAttributeId(String ruleAttributeId) voidsetRuleExtensions(List<RuleExtensionBo> ruleExtensions) voidsetRuleTemplate(RuleTemplateBo ruleTemplate) voidsetRuleTemplateId(String ruleTemplateId) Deprecated.Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
_persistence_get, _persistence_get_objectId, _persistence_get_versionNumber, _persistence_new, _persistence_post_clone, _persistence_set, _persistence_set_objectId, _persistence_set_versionNumber, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberMethods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectIdMethods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toStringMethods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject
_persistence_shallow_cloneMethods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
-
Constructor Details
-
RuleTemplateAttributeBo
public RuleTemplateAttributeBo()
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<RuleTemplateAttributeBo>
-
getAttribute
-
isWorkflowAttribute
public boolean isWorkflowAttribute() -
isRuleValidationAttribute
public boolean isRuleValidationAttribute() -
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
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
-
getRuleExtensionMap
- Specified by:
getRuleExtensionMapin interfaceorg.kuali.rice.kew.api.rule.RuleTemplateAttributeContract
-
setRuleExtensions
-
getRuleAttribute
- Specified by:
getRuleAttributein interfaceorg.kuali.rice.kew.api.rule.RuleTemplateAttributeContract
-
setRuleAttribute
-
getRuleTemplate
-
setRuleTemplate
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceorg.kuali.rice.kew.api.rule.RuleTemplateAttributeContract
-
setDefaultValue
-
getDisplayOrder
- Specified by:
getDisplayOrderin interfaceorg.kuali.rice.kew.api.rule.RuleTemplateAttributeContract
-
setDisplayOrder
-
isRequired
public boolean isRequired()- Specified by:
isRequiredin interfaceorg.kuali.rice.kew.api.rule.RuleTemplateAttributeContract
-
getRequired
-
setRequired
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
getActive
-
setActive
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceorg.kuali.rice.core.api.mo.common.active.MutableInactivatable
-
getRuleAttributeId
-
setRuleAttributeId
-
getId
- Specified by:
getIdin interfaceorg.kuali.rice.core.api.mo.common.Identifiable
-
setId
-
getRuleTemplateId
- Specified by:
getRuleTemplateIdin interfaceorg.kuali.rice.kew.api.rule.RuleTemplateAttributeContract
-
setRuleTemplateId
Deprecated.usesetRuleTemplate(RuleTemplateBo)instead
-
setRuleTemplate(RuleTemplateBo)instead