eu.etaxonomy.cdm.io.common
Class ImportStateBase<CONFIG extends ImportConfiguratorBase,IO extends CdmImportBase>
java.lang.Object
eu.etaxonomy.cdm.io.common.IoStateBase<CONFIG,IO>
eu.etaxonomy.cdm.io.common.ImportStateBase<CONFIG,IO>
- Direct Known Subclasses:
- Abcd206ImportState, DbImportStateBase, DefaultImportState, DwcaImportState, EndnoteImportState, ExcelImportState, IkeyPlusImportState, JaxbImportState, SpecimenSynthesysExcelImportState, TaxonXImportState, TcsRdfImportState, TcsXmlImportState, XmlImportState
public abstract class ImportStateBase<CONFIG extends ImportConfiguratorBase,IO extends CdmImportBase>
- extends IoStateBase<CONFIG,IO>
- Version:
- 1.0
- Author:
- a.mueller
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
protected IService<CdmBase> service
stores
protected Map<String,MapWrapper<? extends CdmBase>> stores
ImportStateBase
protected ImportStateBase(CONFIG config)
getStores
public Map<String,MapWrapper<? extends CdmBase>> getStores()
- Returns:
- the stores
setStores
public void setStores(Map<String,MapWrapper<? extends CdmBase>> stores)
- Parameters:
stores - the stores to set
getStore
public MapWrapper<? extends CdmBase> getStore(String storeLabel)
getTree
public Classification getTree(Object ref)
- Returns:
- the treeMap
putTree
public void putTree(Object ref,
Classification tree)
- Parameters:
treeMap - the treeMap to set
countTrees
public int countTrees()
getTreeUuid
public UUID getTreeUuid(Reference ref)
- Returns:
- the treeUuid
putTreeUuid
public void putTreeUuid(Reference ref,
Classification tree)
countTreeUuids
public int countTreeUuids()
putClassificationUuidInt
public void putClassificationUuidInt(int classificationKeyId,
Classification classification)
- Adds a classification uuid to the classification uuid map,
which maps a key for the classification to its UUID in the CDM
- Parameters:
classificationKeyId - classification -
putClassificationUuid
public void putClassificationUuid(String treeKey,
Classification tree)
getTreeUuidByIntTreeKey
public UUID getTreeUuidByIntTreeKey(int treeKey)
getTreeUuidByTreeKey
public UUID getTreeUuidByTreeKey(String treeKey)
getExtensionType
public ExtensionType getExtensionType(UUID uuid)
putExtensionType
public void putExtensionType(ExtensionType extensionType)
getMarkerType
public MarkerType getMarkerType(UUID uuid)
putMarkerType
public void putMarkerType(MarkerType markerType)
getAnnotationType
public AnnotationType getAnnotationType(UUID uuid)
putAnnotationType
public void putAnnotationType(AnnotationType annotationType)
getNamedArea
public NamedArea getNamedArea(UUID uuid)
putNamedArea
public void putNamedArea(NamedArea namedArea)
getNamedAreaLevel
public NamedAreaLevel getNamedAreaLevel(UUID uuid)
putNamedAreaLevel
public void putNamedAreaLevel(NamedAreaLevel namedAreaLevel)
getRank
public Rank getRank(UUID uuid)
putRank
public void putRank(Rank rank)
getStateTerm
public State getStateTerm(UUID uuid)
putStateTerm
public void putStateTerm(State stateTerm)
getFeature
public Feature getFeature(UUID uuid)
putFeature
public void putFeature(Feature feature)
getMeasurementUnit
public MeasurementUnit getMeasurementUnit(UUID uuid)
putStatisticalMeasure
public void putStatisticalMeasure(StatisticalMeasure unit)
getStatisticalMeasure
public StatisticalMeasure getStatisticalMeasure(UUID uuid)
putMeasurementUnit
public void putMeasurementUnit(MeasurementUnit unit)
getModifier
public Modifier getModifier(UUID uuid)
putModifier
public void putModifier(Modifier unit)
getTaxonRelationshipType
public TaxonRelationshipType getTaxonRelationshipType(UUID uuid)
putTaxonRelationshipType
public void putTaxonRelationshipType(TaxonRelationshipType relType)
getPresenceTerm
public PresenceTerm getPresenceTerm(UUID uuid)
putPresenceTerm
public void putPresenceTerm(PresenceTerm presenceTerm)
getLanguage
public Language getLanguage(UUID uuid)
putLanguage
public void putLanguage(Language language)
getReferenceSystem
public ReferenceSystem getReferenceSystem(UUID uuid)
putReferenceSystem
public void putReferenceSystem(ReferenceSystem referenceSystem)
getTransformer
public IInputTransformer getTransformer()
setTransformer
public void setTransformer(IInputTransformer transformer)
isCheck
public boolean isCheck()
- Returns true, if this import is in validation state. Flase otherwise
- Returns:
setCheck
public void setCheck(boolean isCheck)
- Parameters:
isCheck - - See Also:
isCheck
Copyright © 2007-2013 EDIT. All Rights Reserved.