|
|||||||||
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-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41