code: public Record openMainRecord()
      {
          Record record = Record.makeRecordFromClassName(MenusModel.THICK_CLASS, this);
          record.setOpenMode(DBConstants.OPEN_READ_ONLY);   // This will optimize the cache when client is remote.
          return record;
      }
docs: OpenMainFile Method.
  @return The new main file.