|
|||||||||
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34