Annotation Interface Range


The annotated element has to be in the appropriate range. Apply on numeric values or string representation of the numeric value.
Author:
Hardy Ferentschik
  • Nested Class Summary

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

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

    • min

      long min
      Default:
      0L
    • max

      long max
      Default:
      9223372036854775807L
    • message

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

      Class<?>[] groups
      Default:
      {}