public class ConstraintValidationResult extends Object
ConstraintProcessor
processes a Constraint.| Constructor and Description |
|---|
ConstraintValidationResult(String constraintName) |
ConstraintValidationResult(String constraintName,
ErrorLevel level) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(ConstraintValidationResult child) |
String |
getAttributeName() |
String |
getAttributePath() |
List<ConstraintValidationResult> |
getChildren() |
String |
getConstraintLabelKey() |
String |
getConstraintName() |
String |
getEntryName() |
String |
getErrorKey() |
String[] |
getErrorParameters() |
ErrorLevel |
getStatus() |
void |
setAttributeName(String attributeName) |
void |
setAttributePath(String attributePath) |
void |
setConstraintLabelKey(String constraintLabelKey) |
void |
setConstraintName(String constraintName) |
void |
setEntryName(String entryName) |
void |
setError(String errorKey,
String... errorParameters) |
void |
setErrorKey(String errorKey) |
void |
setErrorParameters(String[] errorParameters) |
void |
setStatus(ErrorLevel level) |
void |
setWarning(String errorKey,
String... errorParameters) |
public ConstraintValidationResult(String constraintName)
public ConstraintValidationResult(String constraintName, ErrorLevel level)
public void addChild(ConstraintValidationResult child)
public void setWarning(String errorKey, String... errorParameters)
public ErrorLevel getStatus()
public void setStatus(ErrorLevel level)
level - the level to setpublic String getErrorKey()
public void setErrorKey(String errorKey)
errorKey - the errorKey to setpublic String[] getErrorParameters()
public void setErrorParameters(String[] errorParameters)
errorParameters - the errorParameters to setpublic String getEntryName()
public void setEntryName(String entryName)
entryName - the entryName to setpublic String getAttributeName()
public void setAttributeName(String attributeName)
attributeName - the attributeName to setpublic String getConstraintName()
public void setConstraintName(String constraintName)
constraintName - the constraintName to setpublic List<ConstraintValidationResult> getChildren()
public String getConstraintLabelKey()
public void setConstraintLabelKey(String constraintLabelKey)
constraintLabelKey - the constraintLabelKey to setpublic String getAttributePath()
public void setAttributePath(String attributePath)
attributePath - the attributePath to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.