Annotation Type Validated


  • @Target({PARAMETER,METHOD})
    @Retention(RUNTIME)
    public @interface Validated
    Due to limit of @see javax.validation.Valid Annotation for validation groups and ordered validations, this annotation is serving supplementary purposes to validation process.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] value
      Specify one or more validation groups to apply to the validation.
    • Element Detail

      • value

        Class<?>[] value
        Specify one or more validation groups to apply to the validation.
        Returns:
        Validation groups
        Default:
        {javax.validation.groups.Default.class}