@Override
	public DBRecord translateRecord(DBRecord oldRec) {
		if (oldRec == null) {
			return null;
		}
		DBRecord rec = TypedefDBAdapter.SCHEMA.createRecord(oldRec.getKey());
		rec.setLongValue(TYPEDEF_DT_ID_COL, oldRec.getLongValue(V1_TYPEDEF_DT_ID_COL));
		// default TYPEDEF_FLAGS_COL to 0 
		rec.setString(TYPEDEF_NAME_COL, oldRec.getString(V1_TYPEDEF_NAME_COL));
		rec.setLongValue(TYPEDEF_CAT_COL, oldRec.getLongValue(V1_TYPEDEF_CAT_COL));
		rec.setLongValue(TYPEDEF_SOURCE_ARCHIVE_ID_COL,
			oldRec.getLongValue(V1_TYPEDEF_SOURCE_ARCHIVE_ID_COL));
		rec.setLongValue(TYPEDEF_UNIVERSAL_DT_ID_COL,
			oldRec.getLongValue(V1_TYPEDEF_UNIVERSAL_DT_ID_COL));
		rec.setLongValue(TYPEDEF_SOURCE_SYNC_TIME_COL,
			oldRec.getLongValue(V1_TYPEDEF_SOURCE_SYNC_TIME_COL));
		rec.setLongValue(TYPEDEF_LAST_CHANGE_TIME_COL,
			oldRec.getLongValue(V1_TYPEDEF_LAST_CHANGE_TIME_COL));
		return rec;
	}
Gets a version 1 adapter for the Typedef database table.
@param handle handle to the database containing the table.
@throws VersionException if the table's version does not match the expected version
for this adapter.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV1.java