org.kuali.rice.krad.datadictionary.validation.result
Class DictionaryValidationResult
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.result.DictionaryValidationResult
- All Implemented Interfaces:
- Iterable<ConstraintValidationResult>
public class DictionaryValidationResult
- extends Object
- implements Iterable<ConstraintValidationResult>
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
void |
addConstraintValidationResult(AttributeValueReader attributeValueReader,
ConstraintValidationResult constraintValidationResult)
|
ConstraintValidationResult |
addError(AttributeValueReader attributeValueReader,
String constraintName,
String errorKey,
String... errorParameters)
|
ConstraintValidationResult |
addError(String constraintLabelKey,
AttributeValueReader attributeValueReader,
String constraintName,
String errorKey,
String... errorParameters)
|
ConstraintValidationResult |
addNoConstraint(AttributeValueReader attributeValueReader,
String constraintName)
|
ConstraintValidationResult |
addSkipped(AttributeValueReader attributeValueReader,
String constraintName)
|
ConstraintValidationResult |
addSuccess(AttributeValueReader attributeValueReader,
String constraintName)
|
ConstraintValidationResult |
addWarning(AttributeValueReader attributeValueReader,
String constraintName,
String errorKey,
String... errorParameters)
|
protected EntryValidationResult |
getEntryValidationResult(String entryName)
|
ErrorLevel |
getErrorLevel()
|
int |
getNumberOfErrors()
|
int |
getNumberOfWarnings()
|
Iterator<ConstraintValidationResult> |
iterator()
|
void |
setErrorLevel(ErrorLevel errorLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryValidationResult
public DictionaryValidationResult()
addConstraintValidationResult
public void addConstraintValidationResult(AttributeValueReader attributeValueReader,
ConstraintValidationResult constraintValidationResult)
addError
public ConstraintValidationResult addError(AttributeValueReader attributeValueReader,
String constraintName,
String errorKey,
String... errorParameters)
addError
public ConstraintValidationResult addError(String constraintLabelKey,
AttributeValueReader attributeValueReader,
String constraintName,
String errorKey,
String... errorParameters)
addWarning
public ConstraintValidationResult addWarning(AttributeValueReader attributeValueReader,
String constraintName,
String errorKey,
String... errorParameters)
addSuccess
public ConstraintValidationResult addSuccess(AttributeValueReader attributeValueReader,
String constraintName)
addSkipped
public ConstraintValidationResult addSkipped(AttributeValueReader attributeValueReader,
String constraintName)
addNoConstraint
public ConstraintValidationResult addNoConstraint(AttributeValueReader attributeValueReader,
String constraintName)
iterator
public Iterator<ConstraintValidationResult> iterator()
- Specified by:
iterator
in interface Iterable<ConstraintValidationResult>
getEntryValidationResult
protected EntryValidationResult getEntryValidationResult(String entryName)
getErrorLevel
public ErrorLevel getErrorLevel()
- Returns:
- the errorLevel
setErrorLevel
public void setErrorLevel(ErrorLevel errorLevel)
- Parameters:
errorLevel
- the errorLevel to set
getNumberOfErrors
public int getNumberOfErrors()
- Returns:
- the numberOfErrors
getNumberOfWarnings
public int getNumberOfWarnings()
- Returns:
- the numberOfWarnings
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.