code: private void setMainTable(final SQLTable _mainTable)
      {
          SQLTable table = _mainTable;
          while (table.getMainTable() != null) {
              table = table.getMainTable();
          }
          this.mainTable = table;
      }
docs: This is the setter method for instance variable {@link #mainTable}.
  
  @param _mainTable new value for instance variable {@link #mainTable}
  @see #getMainTable
  @see #mainTable