Revision a99910b1
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiSourceExport.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
import eu.etaxonomy.cdm.io.common.IExportConfigurator.DO_REFERENCES; |
23 | 23 |
import eu.etaxonomy.cdm.io.common.Source; |
24 |
import eu.etaxonomy.cdm.io.common.mapping.out.DbAnnotationMapper; |
|
24 | 25 |
import eu.etaxonomy.cdm.io.common.mapping.out.DbExtensionMapper; |
25 | 26 |
import eu.etaxonomy.cdm.io.common.mapping.out.DbStringMapper; |
26 | 27 |
import eu.etaxonomy.cdm.io.common.mapping.out.DbTimePeriodMapper; |
27 |
import eu.etaxonomy.cdm.io.common.mapping.out.DbUriMapper; |
|
28 | 28 |
import eu.etaxonomy.cdm.io.common.mapping.out.IdMapper; |
29 | 29 |
import eu.etaxonomy.cdm.io.common.mapping.out.MethodMapper; |
30 | 30 |
import eu.etaxonomy.cdm.io.pesi.erms.ErmsTransformer; |
... | ... | |
291 | 291 |
// } |
292 | 292 |
} |
293 | 293 |
|
294 |
/** |
|
295 |
* Returns the <code>Notes</code> attribute. |
|
296 |
* @param reference The {@link Reference Reference}. |
|
297 |
* @return The <code>Notes</code> attribute. |
|
298 |
* @see MethodMapper |
|
299 |
*/ |
|
300 |
@SuppressWarnings("unused") |
|
301 |
private static String getNotes(Reference reference) { |
|
302 |
// TODO |
|
303 |
return null; |
|
304 |
} |
|
305 |
|
|
306 | 294 |
/** |
307 | 295 |
* Returns the <code>RefIdInSource</code> attribute. |
308 | 296 |
* @param reference The {@link Reference Reference}. |
... | ... | |
436 | 424 |
mapping.addMapper(MethodMapper.NewInstance("AuthorString", this)); |
437 | 425 |
mapping.addMapper(DbTimePeriodMapper.NewInstance("datePublished", "RefYear")); |
438 | 426 |
mapping.addMapper(MethodMapper.NewInstance("NomRefCache", this)); |
439 |
mapping.addMapper(DbUriMapper.NewInstance("uri", "Link"));
|
|
440 |
mapping.addMapper(MethodMapper.NewInstance("Notes", this));
|
|
427 |
mapping.addMapper(DbExtensionMapper.NewInstance(ExtensionType.URL(), "Link"));
|
|
428 |
mapping.addMapper(DbAnnotationMapper.NewInstance(null, "Notes"));
|
|
441 | 429 |
mapping.addMapper(MethodMapper.NewInstance("RefIdInSource", this)); |
442 | 430 |
mapping.addMapper(MethodMapper.NewInstance("OriginalDB", this)); |
443 | 431 |
|
Also available in: Unified diff
ref #8509 link and notes for ERMS source export