|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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!
Optional Element Summary | |
---|---|
String |
message
|
public abstract String message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |