@Override
	public DBRecord translateRecord(DBRecord oldRec) {
		if (oldRec == null) {
			return null;
		}
		DBRecord rec = FunctionParameterAdapter.PARAMETER_SCHEMA.createRecord(oldRec.getKey());
		rec.setLongValue(FunctionParameterAdapter.PARAMETER_PARENT_ID_COL,
			oldRec.getLongValue(V0_PARAMETER_PARENT_ID_COL));
		rec.setLongValue(FunctionParameterAdapter.PARAMETER_DT_ID_COL,
			oldRec.getLongValue(V0_PARAMETER_DT_ID_COL));
		rec.setString(FunctionParameterAdapter.PARAMETER_NAME_COL,
			oldRec.getString(V0_PARAMETER_NAME_COL));
		rec.setString(FunctionParameterAdapter.PARAMETER_COMMENT_COL,
			oldRec.getString(V0_PARAMETER_COMMENT_COL));
		rec.setIntValue(FunctionParameterAdapter.PARAMETER_ORDINAL_COL,
			oldRec.getIntValue(V0_PARAMETER_ORDINAL_COL));
		rec.setIntValue(FunctionParameterAdapter.PARAMETER_DT_LENGTH_COL, 1);

		return rec;
	}
Gets a version 0 adapter for the Function Definition Parameter 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/FunctionParameterAdapterV0.java