org.hibernate.validator
Annotation Type EAN


@Documented
@ValidatorClass(value=EANValidator.class)
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface EAN

The annotated element has to represent an EAN-13 or UPC-A which aims to check for user mistake, not actual number validity!

Author:
Emmanuel Bernard

Optional Element Summary
 String message
           
 

message

public abstract String message
Default:
"{validator.ean}"


Copyright © 2009. All Rights Reserved.