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
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder which can be used to construct instances ofWorkflowAttributeDefinition. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the attribute for this workflow attribute definition.Returns an unmodifiable list of parameters that will be used to construct the attribute as a list of string values.Returns an unmodifiable list of property names and values that will be passed to the attribute upon construction.Returns the property definitions on this attribute definition as a map of strings instead of a list ofPropertyDefinitionobjects.Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
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
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
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
Returns the property definitions on this attribute definition as a map of strings instead of a list ofPropertyDefinitionobjects.- Returns:
- a map representation of the property definitions on this workflow attribute definition
-