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 verified
The supported type is CharSequence
. null
is considered valid.
- Author:
- Hardy Ferentschik
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional Elements