Extends the default Spring Validator interface and provides an additional method that specifies whether validation should cascade into associations.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
validate(java.lang.Object obj, org.springframework.validation.Errors errors, boolean cascade) An extended version of the validate(errors,obj) method that takes an additional argument specifying whether the Validator should cascade into associations or not. |
Methods inherited from class | Name |
---|---|
interface CascadingValidator |
validate |
interface org.springframework.validation.Validator |
org.springframework.validation.Validator#validate(java.lang.Object, org.springframework.validation.Errors), org.springframework.validation.Validator#supports(java.lang.Class) |
An extended version of the validate(errors,obj) method that takes an additional argument specifying whether the Validator should cascade into associations or not.
obj
- The Object to validateerrors
- The Spring Errors instancecascade
- True if validation should cascade into associations