Revision 6b381b7d
Added by Andreas Müller almost 7 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/abcd206/in/SpecimenImportReport.java | ||
---|---|---|
25 | 25 |
import org.apache.log4j.Logger; |
26 | 26 |
|
27 | 27 |
import eu.etaxonomy.cdm.io.specimen.SpecimenImportConfiguratorBase; |
28 |
import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
|
|
28 |
import eu.etaxonomy.cdm.model.name.TaxonName;
|
|
29 | 29 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit; |
30 | 30 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
31 | 31 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType; |
... | ... | |
47 | 47 |
private final Map<Taxon, List<UnitIdSpecimen>> taxonToAssociatedSpecimens = new HashMap<>(); |
48 | 48 |
private final Map<UnitIdSpecimen, List<UnitIdSpecimen>> derivateMap = new HashMap<>(); |
49 | 49 |
private final List<UnitIdSpecimen> alreadyExistingSpecimens = new ArrayList<>(); |
50 |
private final List<ITaxonNameBase> createdNames = new ArrayList<>();
|
|
50 |
private final List<TaxonName> createdNames = new ArrayList<>();
|
|
51 | 51 |
private final List<TaxonNode> createdTaxonNodes = new ArrayList<>(); |
52 | 52 |
private final List<String> infoMessages = new ArrayList<>(); |
53 | 53 |
|
... | ... | |
55 | 55 |
createdTaxa.add(taxon); |
56 | 56 |
} |
57 | 57 |
|
58 |
public void addName(ITaxonNameBase taxonName){
|
|
58 |
public void addName(TaxonName taxonName){
|
|
59 | 59 |
createdNames.add(taxonName); |
60 | 60 |
} |
61 | 61 |
|
... | ... | |
159 | 159 |
|
160 | 160 |
//taxon name |
161 | 161 |
out.println("---Created Taxon Names ("+createdNames.size()+")---"); |
162 |
for (ITaxonNameBase taxonName : createdNames) {
|
|
162 |
for (TaxonName taxonName : createdNames) {
|
|
163 | 163 |
out.println(taxonName.getTitleCache()); |
164 | 164 |
} |
165 | 165 |
out.println("\n"); |
Also available in: Unified diff
ref #6368 remove some further occurrences of ITaxonNameBase