code: public Item withShort(String attrName, short val) {
          checkInvalidAttrName(attrName);
          return withNumber(attrName, Short.valueOf(val));
      }
docs: Sets the value of the specified attribute in the current item to the
  given value.