public abstract class PolishNumberValidator<T extends Annotation> extends ModCheckBase implements ConstraintValidator<T,CharSequence>
ConstraintValidator.initialize(Annotation)
methods.Constructor and Description |
---|
PolishNumberValidator() |
Modifier and Type | Method and Description |
---|---|
protected abstract int[] |
getWeights(List<Integer> digits) |
boolean |
isCheckDigitValid(List<Integer> digits,
char checkDigit) |
extractDigit, initialize, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, isValid
public boolean isCheckDigitValid(List<Integer> digits, char checkDigit)
isCheckDigitValid
in class ModCheckBase
Copyright © 2021 JBoss by Red Hat. All rights reserved.