org.apache.bval.extras.constraints.creditcard
Annotation Type Diners
@Documented
@Luhn
@Pattern(regexp="^(30[0-5]\\d{11}|3095\\d{10}|36\\d{12}|3[8-9]\\d{12})$")
@Constraint(validatedBy={})
@Target(value={FIELD,ANNOTATION_TYPE,PARAMETER})
@Retention(value=RUNTIME)
public @interface Diners
--
TODO - This class is NOT part of the bean_validation spec and might disappear
as soon as a final version of the specification contains a similar functionality.
--
Description: annotation to validate a java.io.File is a directory
groups
public abstract Class<?>[] groups
- Default:
- {}
message
public abstract String message
- Default:
- "{org.apache.bval.extras.constraints.creditcard.Diners.message}"
payload
public abstract Class<? extends Payload>[] payload
- Default:
- {}
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.