public class ConstraintViolationImpl<T> extends Object implements ConstraintViolation<T>, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static <T> ConstraintViolation<T> |
forBeanValidation(String messageTemplate,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType) |
static <T> ConstraintViolation<T> |
forParameterValidation(String messageTemplate,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType,
Object[] executableParameters) |
static <T> ConstraintViolation<T> |
forReturnValueValidation(String messageTemplate,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType,
Object executableReturnValue) |
ConstraintDescriptor<?> |
getConstraintDescriptor() |
Object[] |
getExecutableParameters() |
Object |
getExecutableReturnValue() |
Object |
getInvalidValue() |
Object |
getLeafBean() |
String |
getMessage() |
String |
getMessageTemplate() |
Path |
getPropertyPath() |
T |
getRootBean() |
Class<T> |
getRootBeanClass() |
int |
hashCode() |
String |
toString() |
<C> C |
unwrap(Class<C> type) |
public static <T> ConstraintViolation<T> forBeanValidation(String messageTemplate, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ElementType elementType)
public static <T> ConstraintViolation<T> forParameterValidation(String messageTemplate, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ElementType elementType, Object[] executableParameters)
public static <T> ConstraintViolation<T> forReturnValueValidation(String messageTemplate, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ElementType elementType, Object executableReturnValue)
public final String getMessage()
getMessage
in interface ConstraintViolation<T>
public final String getMessageTemplate()
getMessageTemplate
in interface ConstraintViolation<T>
public final T getRootBean()
getRootBean
in interface ConstraintViolation<T>
public final Class<T> getRootBeanClass()
getRootBeanClass
in interface ConstraintViolation<T>
public final Object getLeafBean()
getLeafBean
in interface ConstraintViolation<T>
public final Object getInvalidValue()
getInvalidValue
in interface ConstraintViolation<T>
public final Path getPropertyPath()
getPropertyPath
in interface ConstraintViolation<T>
public final ConstraintDescriptor<?> getConstraintDescriptor()
getConstraintDescriptor
in interface ConstraintViolation<T>
public <C> C unwrap(Class<C> type)
unwrap
in interface ConstraintViolation<T>
public Object[] getExecutableParameters()
getExecutableParameters
in interface ConstraintViolation<T>
public Object getExecutableReturnValue()
getExecutableReturnValue
in interface ConstraintViolation<T>
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved