code: public Range getRange() {
      Long rangeMin = getRangeMin();
      Long rangeMax = getRangeMax();
      return rangeMin != null || rangeMax != null ? new Range(rangeMin, rangeMax) : null;
    }
docs: For int and long fields, the value must be between min and max (included) of the range
  
  @return attribute value range