Revision 6b381b7d
Added by Andreas Müller almost 7 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/excel/taxa/NormalExplicitImport.java | ||
---|---|---|
47 | 47 |
import eu.etaxonomy.cdm.model.location.NamedArea; |
48 | 48 |
import eu.etaxonomy.cdm.model.media.Media; |
49 | 49 |
import eu.etaxonomy.cdm.model.name.INonViralName; |
50 |
import eu.etaxonomy.cdm.model.name.ITaxonNameBase; |
|
51 | 50 |
import eu.etaxonomy.cdm.model.name.NameRelationshipType; |
52 | 51 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
53 | 52 |
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType; |
... | ... | |
500 | 499 |
*/ |
501 | 500 |
private Synonym createSynonym(TaxonExcelImportState state, TaxonBase<?> taxonBase, String synonymNameStr) { |
502 | 501 |
NomenclaturalCode nc = state.getConfig().getNomenclaturalCode(); |
503 |
ITaxonNameBase name = null;
|
|
502 |
TaxonName name = null;
|
|
504 | 503 |
if (nc.isKindOf(NomenclaturalCode.ICZN)){ |
505 | 504 |
name = TaxonNameFactory.NewZoologicalInstance(taxonBase.getName().getRank()); |
506 | 505 |
}else if (nc.isKindOf(NomenclaturalCode.ICNAFP)){ |
Also available in: Unified diff
ref #6368 remove some further occurrences of ITaxonNameBase