@Documented @Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public @interface CrossParameterConstraint
Modifier and Type | Required Element and Description |
---|---|
Class<? extends ConstraintValidator<?,?>> |
validatedBy
Returns the
ConstraintValidator class for the annotated
cross-parameter constraint. |
public abstract Class<? extends ConstraintValidator<?,?>> validatedBy
ConstraintValidator
class for the annotated
cross-parameter constraint. The validator's type parameter T
must
resolve to Object[]
.Copyright © 2013. All Rights Reserved.