|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented @Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public @interface Constraint
Link between a constraint annotation and its constraint validation implementations.
A given constraint annotation should be annotated by a@Constraint
annotation which refers to its list of constraint validation implementations.
| Required Element Summary | |
|---|---|
java.lang.Class<? extends ConstraintValidator<?,?>>[] |
validatedBy
ConstraintValidator classes must reference distinct target types. |
| Element Detail |
|---|
public abstract java.lang.Class<? extends ConstraintValidator<?,?>>[] validatedBy
ConstraintValidator classes must reference distinct target types.
If two ConstraintValidator refer to the same type,
an exception will occur.
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24