org.kuali.rice.krad.datadictionary.validation.result
Class AttributeValidationResult

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.result.AttributeValidationResult
All Implemented Interfaces:
Serializable

public class AttributeValidationResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
AttributeValidationResult(String attributeName)
          creates a new instance with the given attribute name
 
Method Summary
 void addConstraintValidationResult(ConstraintValidationResult constraintValidationResult)
          adds a constraint validation result
 String getAttributeName()
           
protected  ConstraintValidationResult getConstraintValidationResult(String constraintName)
          gets a constraint validation result with the given constraintName
 Iterator<ConstraintValidationResult> iterator()
          gets an iterator over the constraint validation results added to this class
 void setAttributeName(String attributeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValidationResult

public AttributeValidationResult(String attributeName)
creates a new instance with the given attribute name

Parameters:
attributeName - - the attribute name
Method Detail

addConstraintValidationResult

public void addConstraintValidationResult(ConstraintValidationResult constraintValidationResult)
adds a constraint validation result

Parameters:
constraintValidationResult - - the constraint validation result to set

iterator

public Iterator<ConstraintValidationResult> iterator()
gets an iterator over the constraint validation results added to this class

Returns:
an iterator to stored constraint validation results

getConstraintValidationResult

protected ConstraintValidationResult getConstraintValidationResult(String constraintName)
gets a constraint validation result with the given constraintName

Parameters:
constraintName - - a descriptive name of the current constraint processor
Returns:
validation result

getAttributeName

public String getAttributeName()
Returns:
the attributeName

setAttributeName

public void setAttributeName(String attributeName)
Parameters:
attributeName - the attributeName to set


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.