org.kuali.rice.kew.rule.bo
Class RuleAttribute
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kew.rule.bo.RuleAttribute
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ExtensionDefinitionContract, BusinessObject, PersistableBusinessObject
@Entity
public class RuleAttribute
- extends PersistableBusinessObjectBase
- implements ExtensionDefinitionContract
Model bean defining a rule attribute. Includes the classname of the attribute
class, as well as it's name and other information.
- 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, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
RuleAttribute
public RuleAttribute()
getValidValues
public List getValidValues()
setValidValues
public void setValidValues(List ruleAttributeValidValues)
getRuleTemplateAttributes
public List getRuleTemplateAttributes()
setRuleTemplateAttributes
public void setRuleTemplateAttributes(List ruleTemplateAttributes)
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ExtensionDefinitionContract
setDescription
public void setDescription(String description)
getLabel
public String getLabel()
- Specified by:
getLabel
in interface ExtensionDefinitionContract
setLabel
public void setLabel(String label)
getName
public String getName()
- Specified by:
getName
in interface ExtensionDefinitionContract
setName
public void setName(String name)
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)
getType
public String getType()
- Description copied from interface:
ExtensionDefinitionContract
- The "type" of extension definition. For example, attributes types are defined in:
KewApiConstants.RULE_ATTRIBUTE_TYPES
- Specified by:
getType
in interface ExtensionDefinitionContract
- Returns:
- the extension definition type
- See Also:
KewApiConstants.RULE_ATTRIBUTE_TYPES
setType
public void setType(String type)
getResourceDescriptor
public String getResourceDescriptor()
- Description copied from interface:
ExtensionDefinitionContract
- Retrieves the resource descriptor for this extension. This gives the calling code the
information it needs to locate and execute the extension resource if it needs to. In practice
this is a fully qualified class name.
- Specified by:
getResourceDescriptor
in interface ExtensionDefinitionContract
- Returns:
- Returns the resourceDescriptor.
setResourceDescriptor
public void setResourceDescriptor(String resourceDescriptor)
- Parameters:
resourceDescriptor
- The className to set.
getRuleAttributeActionsUrl
public String getRuleAttributeActionsUrl()
getReturnUrl
public String getReturnUrl()
setReturnUrl
public void setReturnUrl(String returnUrl)
getXmlConfigData
public String getXmlConfigData()
getConfiguration
public Map<String,String> getConfiguration()
- Description copied from interface:
ExtensionDefinitionContract
- Returns a list of key/value settings that the extension was statically configured with when defined.
- Specified by:
getConfiguration
in interface ExtensionDefinitionContract
- Returns:
- a list of key/value settings that the extension was statically configured with when defined.
setXmlConfigData
public void setXmlConfigData(String xmlConfigData)
getApplicationId
public String getApplicationId()
- Specified by:
getApplicationId
in interface ExtensionDefinitionContract
setApplicationId
public void setApplicationId(String applicationId)
isWorkflowAttribute
public boolean isWorkflowAttribute()
isWorkflowAttribute
public static boolean isWorkflowAttribute(String type)
to
public static ExtensionDefinition to(RuleAttribute ruleAttribute)
from
public static RuleAttribute from(ExtensionDefinition im)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.