docs: public void restoreMainRecord(Record record, boolean altMatchesToNull)
      {
          Iterator<BaseTable> iterator = this.getTables();
          while (iterator.hasNext())
          {
              BaseTable table = iterator.next();
              if ((table != null) && (table != this.getNextTable()))
              {
                  Record record2 = table.getRecord();
                  this.restoreMainRecord(record2, record, altMatchesToNull);
              }
          }
      }