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);
            }
        }
    }
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 ) ; } } }
Restore the unchangeable info from the buffer to this main record.
@param record The main record
@param altMatchesToNull If the alternate field is the same as the main field, set it to null (no change).