Revision c44a40e4
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTransformer.java | ||
---|---|---|
1910 | 1910 |
if (!rels.isEmpty()){ |
1911 | 1911 |
//we expect all rels to have same type, maybe not true |
1912 | 1912 |
UUID relTypeUuid = rels.iterator().next().getType().getUuid(); |
1913 |
//E+M |
|
1913 | 1914 |
if (TaxonRelationshipType.proParteUuids().contains(relTypeUuid)){ |
1914 | 1915 |
return T_STATUS_PRO_PARTE_SYN; |
1915 | 1916 |
}else if (TaxonRelationshipType.partialUuids().contains(relTypeUuid)){ |
... | ... | |
1917 | 1918 |
}else if (TaxonRelationshipType.misappliedNameUuids().contains(relTypeUuid)){ |
1918 | 1919 |
return T_STATUS_SYNONYM; //no explicit MAN status exists in PESI |
1919 | 1920 |
} |
1921 |
//ERMS |
|
1922 |
else if (TaxonRelationshipType.pseudoTaxonUuids().contains(relTypeUuid)){ |
|
1923 |
return T_STATUS_SYNONYM; |
|
1924 |
} |
|
1920 | 1925 |
} |
1921 | 1926 |
if (!nodes.isEmpty()){ |
1922 | 1927 |
TaxonNode parentNode = nodes.iterator().next().getParent(); |
Also available in: Unified diff
ref #8509 fix taxonStatus export for ERMS