|
||||||||||
| 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 | ||
|---|---|---|
java.util.Set<ConstraintViolation<?>> |
ConstraintViolationException.getConstraintViolations()
Set of constraint violations reported during a validation |
|
|
Validator.validate(T object,
java.lang.Class<?>... groups)
Validates all constraints on object. |
|
|
Validator.validateProperty(T object,
java.lang.String propertyName,
java.lang.Class<?>... groups)
Validates all constraints placed on the property of object
named propertyName. |
|
|
Validator.validateValue(java.lang.Class<T> beanType,
java.lang.String propertyName,
java.lang.Object value,
java.lang.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(java.util.Set<ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report |
|
ConstraintViolationException(java.lang.String message,
java.util.Set<ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||