Revision 9dc896c9
Added by Andreas Müller almost 7 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/pilotOutputHtml/PilotOutputExporter.java | ||
---|---|---|
26 | 26 |
import eu.etaxonomy.cdm.io.sdd.out.SDDDataSet; |
27 | 27 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
28 | 28 |
import eu.etaxonomy.cdm.model.common.DefinedTermBase; |
29 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
|
|
29 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
30 | 30 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
31 | 31 |
import eu.etaxonomy.cdm.model.reference.Reference; |
32 | 32 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
... | ... | |
129 | 129 |
int agentRows = numberOfRows; |
130 | 130 |
int definedTermBaseRows = numberOfRows; |
131 | 131 |
int referenceBaseRows = numberOfRows; |
132 |
int taxonNameBaseRows = numberOfRows;
|
|
132 |
int taxonNameRows = numberOfRows; |
|
133 | 133 |
int taxonBaseRows = numberOfRows; |
134 | 134 |
int relationshipRows = numberOfRows; |
135 | 135 |
int occurrencesRows = numberOfRows; |
... | ... | |
172 | 172 |
} |
173 | 173 |
|
174 | 174 |
if (pilotOutputExpConfig.isDoTaxonNames() == true) { |
175 |
if (taxonNameBaseRows == 0) { taxonNameBaseRows = getNameService().count(TaxonNameBase.class); }
|
|
176 |
logger.info("# TaxonNameBase: " + taxonNameBaseRows);
|
|
175 |
if (taxonNameRows == 0) { taxonNameRows = getNameService().count(TaxonName.class); }
|
|
176 |
logger.info("# TaxonName: " + taxonNameRows);
|
|
177 | 177 |
//logger.info(" # Taxon: " + getNameService().count(BotanicalName.class)); |
178 |
sddDataSet.setTaxonomicNames(getNameService().list(null,taxonNameBaseRows, 0,null,null));
|
|
178 |
sddDataSet.setTaxonomicNames(getNameService().list(null,taxonNameRows, 0,null,null)); |
|
179 | 179 |
} |
180 | 180 |
|
181 | 181 |
if (pilotOutputExpConfig.isDoHomotypicalGroups() == true) { |
Also available in: Unified diff
fix #6368 rename table and class TaxonNameBase