Annotation Interface Range


@Target(FIELD) @Retention(RUNTIME) public @interface Range
  • Field Details

  • Element Details

    • minimum

      int minimum
      Default:
      -2147483648
    • maximum

      int maximum
      Default:
      2147483647
    • message

      String message
      Default:
      "Value \'%s\' is not in range [%s, %s]"