Annotation Interface SpecLongInRange


@Retention(RUNTIME) @Target(FIELD) public @interface SpecLongInRange
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
    long
     
    long
     
  • Element Details

    • min

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

      long max
      Returns:
      the maximum possible value, inclusive