NIP.
| Modifier and Type | Field and Description |
|---|---|
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int[] | getWeights(List<Integer> digits)
Implements abstract org. |
| public void | initialize(NIP
annotation instance for a given constraint declaration constraintAnnotation)Overrides default jakarta. isValid(Object, ConstraintValidatorContext) calls.
|
| WEIGHTS_NIP | back to summary |
|---|---|
| private static final int[] WEIGHTS_NIP | |
| NIPValidator | back to summary |
|---|---|
| public NIPValidator() | |
| getWeights | back to summary |
|---|---|
| protected int[] getWeights(List<Integer> digits) Implements abstract org.
| |
| initialize | back to summary |
|---|---|
| public void initialize(NIP constraintAnnotation) Overrides default jakarta. Doc from jakarta. Initializes the validator in preparation for
This method is guaranteed to be called before any use of this instance for validation. The default implementation is a no-op. | |