@groovy.transform.CompileStatic class GormValidatorAdapter extends SpringValidatorAdapter
A validator adapter that applies translates the constraint errors into the Errors object of a GORM entity
Type | Name and description |
---|---|
org.springframework.validation.Validator |
thisValidator |
Constructor and description |
---|
GormValidatorAdapter
(org.springframework.validation.Validator targetValidator) |
Type Params | Return Type | Name and description |
---|---|---|
|
ExecutableValidator |
forExecutables() |
<T> |
java.util.Set<ConstraintViolation<T>> |
validate(T object, java.lang.Class<?>[] groups) |
Groovy Documentation