Annotation Interface NotEmpty


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

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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
  • Element Details

    • message

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

      Class<?>[] groups
      Default:
      {}