Annotation Type AmericanExpress


  • @Documented
    @Luhn
    @Pattern(regexp="^(3[47]\\d{13})$")
    @Constraint(validatedBy={})
    @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
    @Retention(RUNTIME)
    public @interface AmericanExpress

    -- 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
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] groups  
      String message  
      Class<? extends jakarta.validation.Payload>[] payload  
    • Element Detail

      • groups

        Class<?>[] groups
        Default:
        {}
      • message

        String message
        Default:
        "{org.apache.bval.extras.constraints.creditcard.AmericanExpress.message}"
      • payload

        Class<? extends jakarta.validation.Payload>[] payload
        Default:
        {}