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 is ignored.

Author:
Emmanuel Bernard



Submit a bug or feature

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

Generated on 10-February-2011 12:41