org.databene.benerator.util
Annotation Type Luhn


@Documented
@Constraint(validatedBy=LuhnValidator.class)
@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface Luhn

Bean Validation annotation for fields that must pass the Luhn number test.

Created: 16.10.2009 18:41:23

Since:
0.6.0
Author:
Volker Bergmann
See Also:
"http://en.wikipedia.org/wiki/Luhn_algorithm"



Copyright © 2013. All Rights Reserved.