public static class TestBeanValidation.ValidatorStub
extends java.lang.Object
implements javax.validation.Validator
Constructor and Description |
---|
ValidatorStub() |
Modifier and Type | Method and Description |
---|---|
javax.validation.executable.ExecutableValidator |
forExecutables() |
javax.validation.metadata.BeanDescriptor |
getConstraintsForClass(java.lang.Class<?> clazz) |
<T> T |
unwrap(java.lang.Class<T> type) |
<T> java.util.Set<javax.validation.ConstraintViolation<T>> |
validate(T object,
java.lang.Class<?>[] groups) |
<T> java.util.Set<javax.validation.ConstraintViolation<T>> |
validateProperty(T object,
java.lang.String propertyName,
java.lang.Class<?>[] groups) |
<T> java.util.Set<javax.validation.ConstraintViolation<T>> |
validateValue(java.lang.Class<T> beanType,
java.lang.String propertyName,
java.lang.Object value,
java.lang.Class<?>[] groups) |
public <T> java.util.Set<javax.validation.ConstraintViolation<T>> validate(T object, java.lang.Class<?>[] groups)
validate
in interface javax.validation.Validator
public <T> java.util.Set<javax.validation.ConstraintViolation<T>> validateProperty(T object, java.lang.String propertyName, java.lang.Class<?>[] groups)
validateProperty
in interface javax.validation.Validator
public <T> java.util.Set<javax.validation.ConstraintViolation<T>> validateValue(java.lang.Class<T> beanType, java.lang.String propertyName, java.lang.Object value, java.lang.Class<?>[] groups)
validateValue
in interface javax.validation.Validator
public javax.validation.metadata.BeanDescriptor getConstraintsForClass(java.lang.Class<?> clazz)
getConstraintsForClass
in interface javax.validation.Validator
public <T> T unwrap(java.lang.Class<T> type)
unwrap
in interface javax.validation.Validator
public javax.validation.executable.ExecutableValidator forExecutables()
forExecutables
in interface javax.validation.Validator