Annotation Type Valid


  • @Target({METHOD,FIELD,CONSTRUCTOR,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    public @interface Valid
    Marks a property, method parameter or method return type for validation cascading.

    Constraints defined on the object and its properties are validated when the property, method parameter or method return type is validated.

    This behavior is applied recursively.

    Author:
    Emmanuel Bernard, Hardy Ferentschik