org.hibernate.validator.constraints

## Annotation Type ConstraintComposition

-     @Documented
      @Target(value=ANNOTATION_TYPE)
      @Retention(value=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 and Description
    --- | ---
    `CompositionType` | `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).

- - ### Element Detail

    - #### value

          public abstract CompositionType 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).
      Default:
        org.hibernate.validator.constraints.CompositionType.AND

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved