Annotation Interface NotEmpty


The annotated element must not be null nor empty.

Supported types are:

  • CharSequence (length of character sequence is evaluated)
  • Collection (collection size is evaluated)
  • Map (map size is evaluated)
  • Array (array length is evaluated)
Author:
Hardy Ferentschik
  • 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:
      {}