Annotation Type EAN
-
@Documented @Constraint(validatedBy={}) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @ReportAsSingleViolation @Mod10Check public @interface EAN
Checks that the annotated character sequence is a valid EAN 13 number. The length of the number and the check digit are verifiedThe supported type is
CharSequence.nullis considered valid.- Author:
- Hardy Ferentschik