|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConstraintViolation | |
---|---|
javax.validation |
Uses of ConstraintViolation in javax.validation |
---|
Methods in javax.validation that return types with arguments of type ConstraintViolation | ||
---|---|---|
Set<ConstraintViolation<?>> |
ConstraintViolationException.getConstraintViolations()
Set of constraint violations reported during a validation |
|
|
Validator.validate(T object,
Class<?>... groups)
Validates all constraints on object . |
|
|
Validator.validateConstructorParameters(Constructor<T> constructor,
Object[] parameterValues,
Class<?>... groups)
Validates all constraints placed on the parameters of the given constructor. |
|
|
Validator.validateConstructorReturnValue(Constructor<T> constructor,
T createdObject,
Class<?>... groups)
Validates all return value constraints of the given constructor. |
|
|
Validator.validateParameters(T object,
Method method,
Object[] parameterValues,
Class<?>... groups)
Validates all constraints placed on the parameters of the given method. |
|
|
Validator.validateProperty(T object,
String propertyName,
Class<?>... groups)
Validates all constraints placed on the property of object
named propertyName . |
|
|
Validator.validateReturnValue(T object,
Method method,
Object returnValue,
Class<?>... groups)
Validates all return value constraints of the given method. |
|
|
Validator.validateValue(Class<T> beanType,
String propertyName,
Object value,
Class<?>... groups)
Validates all constraints placed on the property named propertyName
of the class beanType would the property value be value
ConstraintViolation objects return null for
getRootBean() and getLeafBean() |
Constructor parameters in javax.validation with type arguments of type ConstraintViolation | |
---|---|
ConstraintViolationException(Set<ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report |
|
ConstraintViolationException(String message,
Set<ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |