org.hibernate.validator
Annotation Type CreditCardNumber
@Documented
@ValidatorClass(value=CreditCardNumberValidator.class)
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface CreditCardNumber
The annotated element has to represent a valid
credit card number. This is the Luhn algorithm implementation
which aims to check for user mistake, not credit card validity!
- Author:
- Emmanuel Bernard
message
public abstract String message
- Default:
- "{validator.creditCard}"
Copyright © 2009. All Rights Reserved.