public class ConstraintViolationWrapper<T>
extends java.lang.Object
ConstraintViolation class. Required due to optional nature of javax.validation bundle.| Constructor and Description |
|---|
ConstraintViolationWrapper(<any> constraintViolation)
Creates a new wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
<any> |
getConstraintDescriptor() |
java.lang.Object[] |
getExecutableParameters() |
java.lang.Object |
getExecutableReturnValue() |
java.lang.Object |
getInvalidValue() |
java.lang.Object |
getLeafBean() |
java.lang.String |
getMessage() |
java.lang.String |
getMessageTemplate() |
Path |
getPropertyPath() |
T |
getRootBean() |
java.lang.Class<T> |
getRootBeanClass() |
<any> |
unwrap()
Unwraps original object and returns it.
|
public ConstraintViolationWrapper(<any> constraintViolation)
constraintViolation - original objectpublic java.lang.String getMessage()
ConstraintViolation#getMessagepublic java.lang.String getMessageTemplate()
ConstraintViolation#getMessageTemplatepublic T getRootBean()
ConstraintViolation#getRootBeanpublic java.lang.Class<T> getRootBeanClass()
ConstraintViolation#getRootBeanClasspublic java.lang.Object getLeafBean()
ConstraintViolation#getLeafBeanpublic java.lang.Object[] getExecutableParameters()
ConstraintViolation#getExecutableParameterspublic java.lang.Object getExecutableReturnValue()
ConstraintViolation#getExecutableReturnValuepublic Path getPropertyPath()
ConstraintViolation#getPropertyPathpublic java.lang.Object getInvalidValue()
ConstraintViolation#getInvalidValuepublic <any> getConstraintDescriptor()
ConstraintViolation#getConstraintDescriptorpublic <any> unwrap()