eu.etaxonomy.cdm.io.dwca.in
Class DwcTaxonCsv2CdmTaxonConverter
java.lang.Object
eu.etaxonomy.cdm.io.dwca.in.PartitionableConverterBase<DwcaImportState>
eu.etaxonomy.cdm.io.dwca.in.DwcTaxonCsv2CdmTaxonConverter
- All Implemented Interfaces:
- IConverter<CsvStreamItem,IReader<CdmBase>,String>, IPartitionableConverter<CsvStreamItem,IReader<CdmBase>,String>
public class DwcTaxonCsv2CdmTaxonConverter
- extends PartitionableConverterBase<DwcaImportState>
- implements IPartitionableConverter<CsvStreamItem,IReader<CdmBase>,String>
- Author:
- a.mueller
Methods inherited from class eu.etaxonomy.cdm.io.dwca.in.PartitionableConverterBase |
exists, fire, fireWarningEvent, fireWarningEvent, fireWarningEvent, getKeySet, getPartitionForeignKeys, getTaxonBase, getTaxonDescription, getValue, hasValue, isBlank, isNotBlank |
NO_DATASET
public static final String NO_DATASET
- See Also:
- Constant Field Values
DwcTaxonCsv2CdmTaxonConverter
public DwcTaxonCsv2CdmTaxonConverter(DwcaImportState state)
- Parameters:
state
-
map
public IReader<MappedCdmBase> map(CsvStreamItem csvTaxonRecord)
- Specified by:
map
in interface IConverter<CsvStreamItem,IReader<CdmBase>,String>
getSourceId
public String getSourceId(CsvStreamItem item)
- Description copied from interface:
IConverter
- Returns the identifier (if any) of the input
- Specified by:
getSourceId
in interface IConverter<CsvStreamItem,IReader<CdmBase>,String>
- Returns:
makeForeignKeysForItem
protected void makeForeignKeysForItem(CsvStreamItem item,
Map<String,Set<String>> fkMap)
- Description copied from class:
PartitionableConverterBase
- Fills the the foreign key map with foreign keys required for this item.
- Specified by:
makeForeignKeysForItem
in class PartitionableConverterBase<DwcaImportState>
requiredSourceNamespaces
public Set<String> requiredSourceNamespaces()
- Description copied from interface:
IPartitionableConverter
- Returns a list of namespaces, which are required for related objects loading.
- Specified by:
requiredSourceNamespaces
in interface IPartitionableConverter<CsvStreamItem,IReader<CdmBase>,String>
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2013 EDIT. All Rights Reserved.