Annotation Interface ValuesList


@Retention(RUNTIME) @Documented public @interface ValuesList
Defines a predicate that matches certain combined values of a list of simple fields.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Get the matching criteria for each field in the list.
  • Element Details

    • value

      Values[] value
      Get the matching criteria for each field in the list.

      The ith @Values in the returned array corresponds to the ith field in the list. In order for the list of fields to match, all of the fields in the list must match their respective @Values annotation.

      Returns:
      list of field matching criteria