Annotation Interface OutputValidator.NotEmpty

Enclosing class:
OutputValidator

@Target({FIELD,RECORD_COMPONENT}) @Retention(RUNTIME) public static @interface OutputValidator.NotEmpty
Marks a field as must not be empty.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • message

      String message
      Default:
      "must not be empty"