//As we currently do have only 1 reference column in CDM light the synonym relationship
//reference is used here. This is according to how pro parte synonyms were mapped to
//concept relationships in #7334
- Reference secRef = rel.getCitation();
- csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE_FK)] = getId(state, secRef);
- csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE)] = getTitleCache(secRef);
-
-// Reference secRef = ppSyonym.getSec();
+// Reference secRef = rel.getCitation();
// csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE_FK)] = getId(state, secRef);
// csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE)] = getTitleCache(secRef);
-// Reference synSecRef = rel.getCitation();
-// csvLine[table.getIndex(CdmLightExportTable.SYN_SEC_REFERENCE_FK)] = getId(state, secRef);
-// csvLine[table.getIndex(CdmLightExportTable.SYN_SEC_REFERENCE)] = getTitleCache(secRef);
+
+ Reference secRef = ppSyonym.getSec();
+ csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE_FK)] = getId(state, secRef);
+ csvLine[table.getIndex(CdmLightExportTable.SEC_REFERENCE)] = getTitleCache(secRef);
+ Reference synSecRef = rel.getCitation();
+ csvLine[table.getIndex(CdmLightExportTable.SYN_SEC_REFERENCE_FK)] = getId(state, secRef);
+ csvLine[table.getIndex(CdmLightExportTable.SYN_SEC_REFERENCE)] = getTitleCache(secRef);
//pro parte type
TaxonRelationshipType type = rel.getType();
protected static final String PARENT_FK = "Parent_FK";
protected static final String SEC_REFERENCE_FK = "SecReference_FK";
protected static final String SEC_REFERENCE = "SecReference";
+ protected static final String SYN_SEC_REFERENCE_FK = "SynSecReference_FK";
+ protected static final String SYN_SEC_REFERENCE = "SynSecReference";
+
protected static final String IS_PRO_PARTE = "IsProParteSynonym";
protected static final String IS_PARTIAL = "IsPartial";
protected static final String IS_MISAPPLIED = "IsMisapplied";