Annotation Interface OutputValidator.MaxLength

Enclosing class:
OutputValidator

@Target({FIELD,RECORD_COMPONENT}) @Retention(RUNTIME) public static @interface OutputValidator.MaxLength
Specifies maximum string length.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      int value
    • message

      String message
      Default:
      ""