Revision 9dc896c9
Added by Andreas Müller almost 7 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/sdd/out/SDDCdmExporter.java | ||
---|---|---|
32 | 32 |
import eu.etaxonomy.cdm.io.common.mapping.out.IExportTransformer; |
33 | 33 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
34 | 34 |
import eu.etaxonomy.cdm.model.common.DefinedTermBase; |
35 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
|
|
35 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
36 | 36 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
37 | 37 |
import eu.etaxonomy.cdm.model.reference.Reference; |
38 | 38 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
... | ... | |
184 | 184 |
int agentRows = numberOfRows; |
185 | 185 |
int definedTermBaseRows = numberOfRows; |
186 | 186 |
int referenceBaseRows = numberOfRows; |
187 |
int taxonNameBaseRows = numberOfRows;
|
|
187 |
int taxonNameRows = numberOfRows; |
|
188 | 188 |
int taxonBaseRows = numberOfRows; |
189 | 189 |
int relationshipRows = numberOfRows; |
190 | 190 |
int occurrencesRows = numberOfRows; |
... | ... | |
237 | 237 |
} |
238 | 238 |
|
239 | 239 |
if (sddExpConfig.isDoTaxonNames() == true) { |
240 |
if (taxonNameBaseRows == 0) { taxonNameBaseRows = getNameService().count(TaxonNameBase.class); }
|
|
241 |
logger.info("# TaxonNameBase: " + taxonNameBaseRows);
|
|
240 |
if (taxonNameRows == 0) { taxonNameRows = getNameService().count(TaxonName.class); }
|
|
241 |
logger.info("# TaxonName: " + taxonNameRows);
|
|
242 | 242 |
//logger.info(" # Taxon: " + getNameService().count(BotanicalName.class)); |
243 |
sddDataSet.setTaxonomicNames(getNameService().list(null,taxonNameBaseRows, 0,null,null));
|
|
243 |
sddDataSet.setTaxonomicNames(getNameService().list(null,taxonNameRows, 0,null,null)); |
|
244 | 244 |
} |
245 | 245 |
|
246 | 246 |
if (sddExpConfig.isDoHomotypicalGroups() == true) { |
Also available in: Unified diff
fix #6368 rename table and class TaxonNameBase