Annotation Type ConstraintComposition


@Documented @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface ConstraintComposition
Boolean operator that is applied to all constraints of a composing constraint annotation.

A composed constraint annotation can define a boolean combination of the constraints composing it, by using @ConstraintComposition.

Author:
Dag Hovland, Federico Mancini
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The value of this element specifies the boolean operator, namely disjunction (OR), negation of the conjunction (ALL_FALSE), or, the default, simple conjunction (AND).
  • Element Details

    • value

      The value of this element specifies the boolean operator, namely disjunction (OR), negation of the conjunction (ALL_FALSE), or, the default, simple conjunction (AND).
      Returns:
      the CompositionType value
      Default:
      AND