docs: public void set(Rec record) throws DBException
      {
          if ((this.getRecord().getEditMode() != Constants.EDIT_CURRENT)
              && ((this.getRecord().getEditMode() != Constants.EDIT_IN_PROGRESS)))
                  throw new DBException(Constants.INVALID_RECORD);
          m_record = (FieldList)record;
          this.fieldsToData(record);
          this.doSet(record);
          this.setDataSource(null);
          this.getRecord().setEditMode(Constants.EDIT_NONE);
      }