org.kuali.rice.kew.framework.rule.attribute
Class WorkflowRuleAttributeFields

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.framework.rule.attribute.WorkflowRuleAttributeFields
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete

public class WorkflowRuleAttributeFields
extends AbstractDataTransferObject

An immutable data transfer object used to hold a list of validation errors, attribute fields, and rule extension values for a WorkflowRuleAttribute.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Method Summary
static WorkflowRuleAttributeFields create(List<RemotableAttributeError> validationErrors, List<RemotableAttributeField> attributeFields, Map<String,String> ruleExtensionValues)
          Construct a new instance of WorkflowRuleAttributeFields with the given validation errors, fields, and rule extension values.
 List<RemotableAttributeField> getAttributeFields()
           
 Map<String,String> getRuleExtensionValues()
           
 List<RemotableAttributeError> getValidationErrors()
           
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static WorkflowRuleAttributeFields create(List<RemotableAttributeError> validationErrors,
                                                 List<RemotableAttributeField> attributeFields,
                                                 Map<String,String> ruleExtensionValues)
Construct a new instance of WorkflowRuleAttributeFields with the given validation errors, fields, and rule extension values.

Parameters:
validationErrors - any errors associated with these fields
attributeFields - the list of remotable attribute fields
ruleExtensionValues - the rule extension values associated with these fields
Returns:
a new WorkflowRuleAttributeFields instance containing the given values

getValidationErrors

public List<RemotableAttributeError> getValidationErrors()

getAttributeFields

public List<RemotableAttributeField> getAttributeFields()

getRuleExtensionValues

public Map<String,String> getRuleExtensionValues()


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.