Annotation Type 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
      java.lang.String max  
      java.lang.String min  
    • Element Detail

      • min

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

        java.lang.String max
        Returns:
        the maximum possible value, inclusive