Revision 2d481abb
Added by Katja Luther almost 10 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiDescriptionExport.java | ||
---|---|---|
341 | 341 |
addSourceSourceMapping, additionalSourceMapping, isImageGallery, element); |
342 | 342 |
} |
343 | 343 |
} |
344 |
descriptions = null; |
|
344 | 345 |
return success; |
345 | 346 |
} |
346 | 347 |
|
... | ... | |
834 | 835 |
private PesiExportMapping getNotesMapping() { |
835 | 836 |
PesiExportMapping mapping = new PesiExportMapping(dbNoteTableName); |
836 | 837 |
|
837 |
mapping.addMapper(IdMapper.NewInstance("NoteId")); |
|
838 |
//mapping.addMapper(IdMapper.NewInstance("NoteId"));
|
|
838 | 839 |
mapping.addMapper(DbTextDataMapper.NewInstance(Language.ENGLISH(), "Note_1")); |
839 | 840 |
//TODO |
840 | 841 |
mapping.addMapper(MethodMapper.NewInstance("Note_2", this, DescriptionElementBase.class)); |
... | ... | |
871 | 872 |
private PesiExportMapping getOccurrenceMapping() { |
872 | 873 |
PesiExportMapping mapping = new PesiExportMapping(dbOccurrenceTableName); |
873 | 874 |
|
874 |
mapping.addMapper(IdMapper.NewInstance("OccurrenceId")); |
|
875 |
//mapping.addMapper(IdMapper.NewInstance("OccurrenceId"));
|
|
875 | 876 |
mapping.addMapper(DbDescriptionElementTaxonMapper.NewInstance("taxonFk")); |
876 | 877 |
mapping.addMapper(DbDescriptionElementTaxonMapper.NewInstance("TaxonFullNameCache", true, true, null)); |
877 | 878 |
|
Also available in: Unified diff
changes in Fauna Europeae Import and Index Fungorum Import and PESI Export