Revision bbeda5af
Added by Katja Luther about 7 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/faunaEuropaea/FaunaEuropaeaTaxonNameImport.java | ||
---|---|---|
48 | 48 |
import eu.etaxonomy.cdm.model.name.NomenclaturalStatus; |
49 | 49 |
import eu.etaxonomy.cdm.model.name.Rank; |
50 | 50 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
51 |
import eu.etaxonomy.cdm.model.name.TaxonNameFactory; |
|
51 | 52 |
import eu.etaxonomy.cdm.model.name.ZoologicalName; |
52 | 53 |
import eu.etaxonomy.cdm.model.reference.Reference; |
53 | 54 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
... | ... | |
351 | 352 |
Reference sourceReference = fauEuConfig.getSourceReference(); |
352 | 353 |
Reference auctReference = fauEuConfig.getAuctReference(); |
353 | 354 |
|
354 |
ZoologicalName zooName = ZoologicalName.NewInstance(rank);
|
|
355 |
ZoologicalName zooName = TaxonNameFactory.NewZoologicalInstance(rank);
|
|
355 | 356 |
TeamOrPersonBase<?> author = authorStore.get(autId); |
356 | 357 |
|
357 | 358 |
zooName.setCombinationAuthorship(author); |
... | ... | |
580 | 581 |
ZoologicalName zooName = taxonName.deproxy(taxonName, ZoologicalName.class); |
581 | 582 |
|
582 | 583 |
// create basionym |
583 |
ZoologicalName basionym = ZoologicalName.NewInstance(taxonName.getRank());
|
|
584 |
ZoologicalName basionym =TaxonNameFactory.NewZoologicalInstance(taxonName.getRank());
|
|
584 | 585 |
basionym.setCombinationAuthorship(zooName.getCombinationAuthorship()); |
585 | 586 |
basionym.setPublicationYear(zooName.getPublicationYear()); |
586 | 587 |
|
Also available in: Unified diff
changes in pesi im and exports