code: public void setMax(final String pmax) {
      try {
        this.setMax(this.numberParser.parse(pmax));
      } catch (final ParseException e) {
        this.setMax((T) null);
      }
    }
docs: set maximum allowed value.
  
  @param pmax maximum value allowed