Annotation Type Validate


@Inherited @Documented @Target(FIELD) @Retention(RUNTIME) public @interface Validate
Specifies a Validator with which to validate the corresponding Parameter. Used in conjunction with elements annotated with Parameter.
Author:
Lincoln Baxter, III
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The Validator id, to perform name-based lookups.
    The Validator type, to perform type-based lookups..
  • Element Details

    • with

      Class<?> with
      The Validator type, to perform type-based lookups..
      Default:
      java.lang.Object.class
    • id

      String id
      The Validator id, to perform name-based lookups.
      Default:
      ""