| Modifier and Type | Field and Description |
|---|---|
static int |
GTIN13_LENGTH
definition of gtin13 length.
|
| Constructor and Description |
|---|
Gtin13Validator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Gtin13 pconstraintAnnotation)
initialize the validator.
|
boolean |
isValid(Object pvalue,
javax.validation.ConstraintValidatorContext pcontext)
check if given string is a valid gtin.
|
public static final int GTIN13_LENGTH
Copyright © 2015–2016. All rights reserved.