Annotation Type 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 max  
      int min  
    • Element Detail

      • min

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

        int max
        Returns:
        the maximum possible value, inclusive