code: public void set(String propName, Object value) {
          if (propName.equals("key")) {
              setKey(((String) value));
          }
          if (propName.equals("value")) {
              setValue(value);
          }
      }
docs: Sets the value of the provided property to the provided value.
  
  @param propName
  allowed object is {@link String}
  @param value
  allowed object is {@link Object}