@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=CreditCardNumber.List.class) @ReportAsSingleViolation @LuhnCheck public @interface CreditCardNumber
public abstract String message
public abstract Class<?>[] groups
@OverridesAttribute(constraint=LuhnCheck.class, name="ignoreNonDigitCharacters") public abstract boolean ignoreNonDigitCharacters
true
) or result in a
validation error (false
). Default is false
Copyright © 2020 JBoss by Red Hat. All rights reserved.