code: @Override
      public void setAsText(final String text) {
          if (BeanUtils.isNull(text)) {
              setValue(null);
              return;
          }
          try {
              Object newValue = Long.valueOf(text);
              setValue(newValue);
          } catch (NumberFormatException e) {
              throw new IllegalArgumentException("Failed to parse long.", e);
          }
      }
docs: Map the argument text into and Integer using Integer.valueOf.