eu.etaxonomy.cdm.io.dwca.in
Class DwcaImportState
java.lang.Object
eu.etaxonomy.cdm.io.common.IoStateBase<CONFIG,IO>
eu.etaxonomy.cdm.io.common.ImportStateBase<DwcaImportConfigurator,DwcaImport>
eu.etaxonomy.cdm.io.dwca.in.DwcaImportState
public class DwcaImportState
- extends ImportStateBase<DwcaImportConfigurator,DwcaImport>
- Author:
- a.mueller
|
Method Summary |
void |
addRelatedObject(String sourceNamespace,
String sourceKey,
IdentifiableEntity<?> cdmEntity)
|
boolean |
exists(String namespace,
String sourceKey,
Class<?> destinationClass)
|
void |
finish()
|
List<IdentifiableEntity> |
get(String namespace,
String sourceKey)
|
|
get(String namespace,
String sourceKey,
Class<CLASS> destinationClass)
|
IImportMapping |
getMapping()
|
Reference<?> |
getTransactionalSourceReference()
Returns the source reference object that is attached to the current transaction. |
boolean |
isTaxaCreated()
True, if taxa have been fully created. |
void |
loadRelatedObjects(InMemoryMapping mapping)
|
void |
putMapping(MappedCdmBase mappedCdmBase)
|
void |
putMapping(String namespace,
Integer sourceKey,
IdentifiableEntity<?> destinationObject)
|
void |
putMapping(String namespace,
String sourceKey,
IdentifiableEntity<?> destinationObject)
|
void |
setTaxaCreated(boolean taxaCreated)
|
void |
unloadPartitionStore(Map<String,Map<String,IdentifiableEntity>> partitionStore)
|
| Methods inherited from class eu.etaxonomy.cdm.io.common.ImportStateBase |
countTrees, countTreeUuids, getAnnotationType, getExtensionType, getFeature, getLanguage, getMarkerType, getMeasurementUnit, getModifier, getNamedArea, getNamedAreaLevel, getPresenceTerm, getRank, getReferenceSystem, getStateTerm, getStatisticalMeasure, getStore, getStores, getTaxonRelationshipType, getTransformer, getTree, getTreeUuid, getTreeUuidByIntTreeKey, getTreeUuidByTreeKey, isCheck, putAnnotationType, putClassificationUuid, putClassificationUuidInt, putExtensionType, putFeature, putLanguage, putMarkerType, putMeasurementUnit, putModifier, putNamedArea, putNamedAreaLevel, putPresenceTerm, putRank, putReferenceSystem, putStateTerm, putStatisticalMeasure, putTaxonRelationshipType, putTree, putTreeUuid, setCheck, setStores, setTransformer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DwcaImportState
public DwcaImportState(DwcaImportConfigurator config)
isTaxaCreated
public boolean isTaxaCreated()
- True, if taxa have been fully created.
- Returns:
setTaxaCreated
public void setTaxaCreated(boolean taxaCreated)
- Parameters:
taxaCreated - the taxaCreated to set
finish
public void finish()
putMapping
public void putMapping(MappedCdmBase mappedCdmBase)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
putMapping
public void putMapping(String namespace,
Integer sourceKey,
IdentifiableEntity<?> destinationObject)
putMapping
public void putMapping(String namespace,
String sourceKey,
IdentifiableEntity<?> destinationObject)
get
public List<IdentifiableEntity> get(String namespace,
String sourceKey)
get
public <CLASS extends IdentifiableEntity> List<CLASS> get(String namespace,
String sourceKey,
Class<CLASS> destinationClass)
exists
public boolean exists(String namespace,
String sourceKey,
Class<?> destinationClass)
loadRelatedObjects
public void loadRelatedObjects(InMemoryMapping mapping)
addRelatedObject
public void addRelatedObject(String sourceNamespace,
String sourceKey,
IdentifiableEntity<?> cdmEntity)
unloadPartitionStore
public void unloadPartitionStore(Map<String,Map<String,IdentifiableEntity>> partitionStore)
getMapping
public IImportMapping getMapping()
getTransactionalSourceReference
public Reference<?> getTransactionalSourceReference()
- Returns the source reference object that is attached to the current transaction.
- Returns:
Copyright © 2007-2013 EDIT. All Rights Reserved.