public class FutureConstraintValidator extends Object implements ConstraintValidator<Future,Date>
Description:
| 构造器和说明 |
|---|
FutureConstraintValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
validate(Date value,
Future constraintAnnotation)
main method that invoke by
Validator
in ValidatorContext to validate parameter
under the A annotation. |
public boolean validate(Date value, Future constraintAnnotation)
ConstraintValidatorValidator
in ValidatorContext to validate parameter
under the A annotation.validate 在接口中 ConstraintValidator<Future,Date>value - parameter valueconstraintAnnotation - parameter annotationCopyright © 2020. All rights reserved.