Annotation Type Regex


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Regex
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String DEFAULT_MESSAGE  
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String pattern  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String message  
    • Field Detail

      • DEFAULT_MESSAGE

        static final java.lang.String DEFAULT_MESSAGE
    • Element Detail

      • pattern

        java.lang.String pattern
      • message

        java.lang.String message
        Default:
        "Value \'%s\' did not conform to pattern %s"