Annotation Interface Choices


@Documented @Constraint(validatedBy=ChoicesValidator.class) @Target(TYPE) @Retention(RUNTIME) public @interface Choices
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
    int
     
     
    int
     
    Class<? extends javax.validation.Payload>[]
     
  • Element Details

    • groups

      Class<?>[] groups
      Default:
      {}
    • message

      String message
      Default:
      "co.ecg.alpaca.toolkit.validation.Choices"
    • payload

      Class<? extends javax.validation.Payload>[] payload
      Default:
      {}
    • maxOccurs

      int maxOccurs
      Default:
      1
    • minOccurs

      int minOccurs
      Default:
      1