public class CreditCodeValidator extends Object implements javax.validation.ConstraintValidator<CreditCode,String>
Constructor and Description |
---|
CreditCodeValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(CreditCode constraintAnnotation) |
boolean |
isValid(String value,
javax.validation.ConstraintValidatorContext context) |
public void initialize(CreditCode constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<CreditCode,String>
public boolean isValid(String value, javax.validation.ConstraintValidatorContext context)
isValid
in interface javax.validation.ConstraintValidator<CreditCode,String>
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.