Class WorkflowAttributeDefinition

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.attribute.WorkflowAttributeDefinition
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete

public final class WorkflowAttributeDefinition extends AbstractDataTransferObject
Encapsulates parameters that can be sent to an attribute when using that attribute to perform various operations (primarily, in the case of workflow attributes, during the generation of XML). The distinction between parameters and properties is that parameters are used to initially construct the attribute (via the attribute class constructor), while property definitions are used to set properties on the attribute thereafter.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Method Details

    • getAttributeName

      public String getAttributeName()
      Returns the name of the attribute for this workflow attribute definition. Should never be a null or blank value.
      Returns:
      the name of the attribute for this workflow attribute definition
    • getParameters

      public List<String> getParameters()
      Returns an unmodifiable list of parameters that will be used to construct the attribute as a list of string values. This list will never be null but it may be empty.
      Returns:
      the list of parameters used to construct the attribute
    • getPropertyDefinitions

      public List<PropertyDefinition> getPropertyDefinitions()
      Returns an unmodifiable list of property names and values that will be passed to the attribute upon construction. This list will never be null but it may be empty.
      Returns:
      the list of property names and values to will be be passed to the attribute upon construction
    • getPropertyDefinitionsAsMap

      public Map<String,String> getPropertyDefinitionsAsMap()
      Returns the property definitions on this attribute definition as a map of strings instead of a list of PropertyDefinition objects.
      Returns:
      a map representation of the property definitions on this workflow attribute definition