code: public Record getThisRecord(String strRecord, String strPackage, String strDBName)
      {
          String strRecordClass = strRecord;
          if (!strRecordClass.contains("."))
              strRecordClass = strPackage + '.' + strRecordClass;
          Record record = Record.makeRecordFromClassName(strRecordClass, this, false, true);
          if (record == null)
              return null;
          
          String strMode = this.getProperty(ExportRecordsToXmlProcess.TRANSFER_MODE);
          boolean bExport = false;
          if (strMode != null) if (strMode.equalsIgnoreCase(ExportRecordsToXmlProcess.EXPORT))
              bExport = true;
          
          if (bExport)
              record.setOpenMode(record.getOpenMode() | DBConstants.OPEN_DONT_CREATE);
          
          //if (this.getProperty(ExportRecordsToXmlProcess.LOCALE) != null)
          //    if (this.getRecord(FileHdr.FILE_HDR_FILE).getEditMode() == DBConstants.EDIT_CURRENT)
          //        strDBName = this.getRecord(FileHdr.FILE_HDR_FILE).getField(FileHdr.DATABASE_NAME).toString() + '_' + this.getProperty("locale");
          if (strDBName != null)
              if (strPackage != null)
                  if (!strRecordClass.matches(strPackage))
                      if (record instanceof DatabaseInfo) // Always
          {
              ((DatabaseInfo)record).setDatabaseName(strDBName);
              record.setOpenMode(record.getOpenMode() | DBConstants.OPEN_DONT_CREATE);
          }
          record.init(this);
          
          return record;
      }
docs: Get this record.