javax.validation

## Annotation Type ReportAsSingleViolation

-     @Target(value=ANNOTATION_TYPE)
      @Retention(value=RUNTIME)
      public @interface ReportAsSingleViolation

  A constraint annotation hosting this annotation will return the composed annotation error report if any of the composing annotations fail. The error reports of each individual composing constraint are ignored.

  Note: Evaluation of composed constraints stops on the first validation error in case the composing constraint is annotated with `@ReportAsSingleViolation`.
  Author:
    Emmanuel Bernard

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.