public class AttributeValidationResult extends Object implements Serializable
Constructor and Description |
---|
AttributeValidationResult(String attributeName)
creates a new instance with the given attribute name
|
Modifier and Type | Method and Description |
---|---|
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) |
public AttributeValidationResult(String attributeName)
attributeName
- - the attribute namepublic void addConstraintValidationResult(ConstraintValidationResult constraintValidationResult)
constraintValidationResult
- - the constraint validation result to setpublic Iterator<ConstraintValidationResult> iterator()
protected ConstraintValidationResult getConstraintValidationResult(String constraintName)
constraintName
- - a descriptive name of the current constraint processorpublic String getAttributeName()
public void setAttributeName(String attributeName)
attributeName
- the attributeName to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.