@Documented
@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface Constraint
ConstraintValidator
implementation class that has a default constructor.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends ConstraintValidator<? extends java.lang.annotation.Annotation>> |
value
ConstraintValidator class that implements the validation logic for the annotated constraint annotation. |
public abstract java.lang.Class<? extends ConstraintValidator<? extends java.lang.annotation.Annotation>> value
ConstraintValidator
class that implements the validation logic for the annotated constraint annotation.