code: protected static ValidationBuilder validateRange(String attributeName, Number min, Number max) {
          return ModelDelegate.validateRange(modelClass(), attributeName, min, max);
      }
docs: Validates range. Accepted types are all java.lang.Number subclasses:
  Byte, Short, Integer, Long, Float, Double BigDecimal.
  
  @param attributeName attribute to validate - should be within range.
  @param min min value of range.
  @param max max value of range.