public interface Validator
Modifier and Type | Method and Description |
---|---|
BeanDescriptor |
getConstraintsForClass(Class<?> clazz) |
<T> T |
unwrap(Class<T> type) |
<T> Set<ConstraintViolation<T>> |
validate(T object,
Class<?>... groups) |
<T> Set<ConstraintViolation<T>> |
validateProperty(T object,
String propertyName,
Class<?>... groups) |
<T> Set<ConstraintViolation<T>> |
validateValue(Class<T> beanType,
String propertyName,
Object value,
Class<?>... groups) |
<T> Set<ConstraintViolation<T>> validate(T object, Class<?>... groups)
<T> Set<ConstraintViolation<T>> validateProperty(T object, String propertyName, Class<?>... groups)
<T> Set<ConstraintViolation<T>> validateValue(Class<T> beanType, String propertyName, Object value, Class<?>... groups)
BeanDescriptor getConstraintsForClass(Class<?> clazz)
<T> T unwrap(Class<T> type)
Copyright © 2014. All Rights Reserved.