public void setFunctionField(String field, String value) {
      if (field.equals("name") && !value.equals("")) setName(value);
      if (field.equals("version") && !value.equals("")) setVersion(Double.parseDouble(value));
  }