Revision 53ffcb3d
Added by Andreas Müller over 3 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/cuba/CubaExcelImport.java | ||
---|---|---|
849 | 849 |
|
850 | 850 |
private boolean isLegitimate(IBotanicalName basionymName) { |
851 | 851 |
for (NomenclaturalStatus nomStatus : basionymName.getStatus()){ |
852 |
if (nomStatus.getType()!= null && nomStatus.getType().isIllegitimateType()){
|
|
852 |
if (nomStatus.getType()!= null && nomStatus.getType().isIllegitimate()){ |
|
853 | 853 |
return false; |
854 | 854 |
} |
855 | 855 |
} |
856 | 856 |
for (NameRelationship nameRel : basionymName.getNameRelations()){ |
857 |
if (nameRel.getType()!= null && nameRel.getType().isIllegitimateType()){
|
|
857 |
if (nameRel.getType()!= null && nameRel.getType().isIllegitimate()){ |
|
858 | 858 |
return false; |
859 | 859 |
} |
860 | 860 |
} |
Also available in: Unified diff
ref #9282 adapt app-import to nomenclaturalStanding