Annotation Type OnlyMatchingChildren


@Target(TYPE) @Retention(RUNTIME) @Constraint(validatedBy=OnlyMatchingChildrenValidator.class) public @interface OnlyMatchingChildren
  • Optional Element Summary

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

    • message

      String message
      Default:
      "is not a valid solution"
    • groups

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

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