code: public void writeToObject(Object data) {
          // ensure pending edits are committed
          getTable().commitEditing();
  
          Property[] properties = getProperties();
          for (int i = 0, c = properties.length; i < c; i++) {
              properties[i].writeToObject(data);
          }
      }
docs: Writes the PropertySheet to the given object. If any, it commits pending
  edit before proceeding with properties.
  
  @param data