| java.lang.Object net.sf.oval.ConstraintViolation
ConstraintViolation | public class ConstraintViolation implements Serializable(Code) | | An instance of this class provides detailed information about a single constraint violation
that occured during validation.
author: Sebastian Thomschke |
Constructor Summary | |
public | ConstraintViolation(String errorCode, String message, int severity, Object validatedObject, Object invalidValue, OValContext context) | public | ConstraintViolation(String errorCode, String message, int severity, Object validatedObject, Object invalidValue, OValContext context, ConstraintViolation... causes) | public | ConstraintViolation(String errorCode, String message, int severity, Object validatedObject, Object invalidValue, OValContext context, List<ConstraintViolation> causes) |
getContext | public OValContext getContext()(Code) | | Returns the context where the constraint violation occured. |
getErrorCode | public String getErrorCode()(Code) | | the error code |
getInvalidValue | public Object getInvalidValue()(Code) | | Returns the value that was validated. |
getSeverity | public int getSeverity()(Code) | | the severity |
getValidatedObject | public Object getValidatedObject()(Code) | | the validatedObject |
|
|