org.kuali.rice.kew.dto
Class WorkflowAttributeDefinitionDTO
java.lang.Object
org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RuleRoutingDefinition
public class WorkflowAttributeDefinitionDTO
- extends Object
- implements Serializable
Defines a remote WorkflowAttribute and how to construct it. This is to be used when
the attributes are being hosted remotely inside the Workflow runtime.
The attribute definition must be constructed with the fully qualified class name of the
target attribute. It can be constructed one of two ways, through the constructor of the
attribute or by setting java bean properties. If both are specified, then the attribute
will be constructed using both the constructor and properties. If no constructor
parameters are specified the target attribute must have a no-argument public constructor.
The "properties" represented by the PropertyDefinitionVOs will be set as bean properties
(setters) on the target attribute class. The standard KSB resource/object-definition loading
mechanism implements this functionality. If the attribute is a GenericXMLRuleAttribute
or GenerixXMLSearchableAttribute, then the properties will also be set explicitly in the paramMap
by the workflow server.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowAttributeDefinitionDTO
public WorkflowAttributeDefinitionDTO()
WorkflowAttributeDefinitionDTO
public WorkflowAttributeDefinitionDTO(String attributeName)
getAttributeName
public String getAttributeName()
setAttributeName
public void setAttributeName(String attributeName)
addConstructorParameter
public void addConstructorParameter(String parameter)
removeConstructorParameter
public void removeConstructorParameter(String parameter)
setConstructorParameters
public void setConstructorParameters(String[] parameters)
getConstructorParameters
public String[] getConstructorParameters()
addProperty
public void addProperty(PropertyDefinitionDTO property)
getProperty
public PropertyDefinitionDTO getProperty(String name)
getProperties
public PropertyDefinitionDTO[] getProperties()
setProperties
public void setProperties(PropertyDefinitionDTO[] properties)
addProperty
public void addProperty(String name,
String value)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.