org.kuali.rice.krad.datadictionary.validation.result
Class ConstraintValidationResult
java.lang.Object
   org.kuali.rice.krad.datadictionary.validation.result.ConstraintValidationResult
org.kuali.rice.krad.datadictionary.validation.result.ConstraintValidationResult
- public class ConstraintValidationResult 
- extends Object
This is a composite class for all the different members that need to be returned when a ConstraintProcessor
 processes a Constraint.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ConstraintValidationResult
public ConstraintValidationResult(String constraintName)
ConstraintValidationResult
public ConstraintValidationResult(String constraintName,
                                  ErrorLevel level)
addChild
public void addChild(ConstraintValidationResult child)
- 
 
setError
public void setError(String errorKey,
                     String... errorParameters)
- 
 
setWarning
public void setWarning(String errorKey,
                       String... errorParameters)
- 
 
getStatus
public ErrorLevel getStatus()
- 
- Returns:
- the level
 
setStatus
public void setStatus(ErrorLevel level)
- 
- Parameters:
- level- the level to set
 
getErrorKey
public String getErrorKey()
- 
- Returns:
- the errorKey
 
setErrorKey
public void setErrorKey(String errorKey)
- 
- Parameters:
- errorKey- the errorKey to set
 
getErrorParameters
public String[] getErrorParameters()
- 
- Returns:
- the errorParameters
 
setErrorParameters
public void setErrorParameters(String[] errorParameters)
- 
- Parameters:
- errorParameters- the errorParameters to set
 
getEntryName
public String getEntryName()
- 
- Returns:
- the entryName
 
setEntryName
public void setEntryName(String entryName)
- 
- Parameters:
- entryName- the entryName to set
 
getAttributeName
public String getAttributeName()
- 
- Returns:
- the attributeName
 
setAttributeName
public void setAttributeName(String attributeName)
- 
- Parameters:
- attributeName- the attributeName to set
 
getConstraintName
public String getConstraintName()
- 
- Returns:
- the constraintName
 
setConstraintName
public void setConstraintName(String constraintName)
- 
- Parameters:
- constraintName- the constraintName to set
 
getChildren
public List<ConstraintValidationResult> getChildren()
- 
- Returns:
- the children
 
getConstraintLabelKey
public String getConstraintLabelKey()
- 
- Returns:
- the constraintLabelKey
 
setConstraintLabelKey
public void setConstraintLabelKey(String constraintLabelKey)
- 
- Parameters:
- constraintLabelKey- the constraintLabelKey to set
 
getAttributePath
public String getAttributePath()
- 
- Returns:
- the attributePath
 
setAttributePath
public void setAttributePath(String attributePath)
- 
- Parameters:
- attributePath- the attributePath to set
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.