Annotation Interface SpecIntInRange


@Retention(RUNTIME) @Target(FIELD) public @interface SpecIntInRange
Specifies that the value of a field must be in a certain range (inclusive).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
    int
     
  • Element Details

    • min

      int min
      Returns:
      the minimum possible value, inclusive
    • max

      int max
      Returns:
      the maximum possible value, inclusive