Annotation Interface NotBlank


The annotated element must not be null and must contain at least one non-whitespace character. Accepts CharSequence.
Author:
Hardy Ferentschik
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
    int
    Set the maximum length.
     
  • Element Details

    • max

      int max
      Set the maximum length. By default this is 0 meaning unlimited.
      Default:
      0
    • message

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

      Class<?>[] groups
      Default:
      {}