Annotation Interface Email


The string has to be a well-formed email address. Exact semantics of what makes up a valid email address are left to the provided Email Annotation ValidationAdapter providers. Accepts CharSequence.

null elements are considered valid.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Defines several Email annotations on the same element.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Used in combination with regexp() in order to specify a regular expression option
    Class<?>[]
     
     
    An additional regular expression the annotated element must match.
  • Element Details

    • message

      String message
      Default:
      "{avaje.Email.message}"
    • groups

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

      String regexp
      An additional regular expression the annotated element must match. The default is any string ('.*')
      Default:
      ".*"
    • flags

      RegexFlag[] flags
      Used in combination with regexp() in order to specify a regular expression option
      Default:
      {}