Annotation Interface SpecStringInRange


@Retention(RUNTIME) @Target(FIELD) public @interface SpecStringInRange
Specifies that the value of a field must be a String in a certain range (inclusive, comparison done lexicographically).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
     
  • Element Details

    • min

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

      String max
      Returns:
      the maximum possible value, inclusive