@Target(value={METHOD,FIELD,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
public @interface Valid
Mark a property, method parameter or method return type for validation cascading.
Constraints defined on the object and its properties are be validated when the
property, method parameter or method return type is validated.
This behavior is applied recursively.
- Author:
- Emmanuel Bernard, Hardy Ferentschik