public class PESELValidator extends ModCheckBase implements ConstraintValidator<PESEL,CharSequence>
PESEL
.Constructor and Description |
---|
PESELValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(PESEL constraintAnnotation) |
boolean |
isCheckDigitValid(List<Integer> digits,
char checkDigit) |
extractDigit, initialize, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValid
public void initialize(PESEL constraintAnnotation)
initialize
in interface ConstraintValidator<PESEL,CharSequence>
public boolean isCheckDigitValid(List<Integer> digits, char checkDigit)
isCheckDigitValid
in class ModCheckBase
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved