eu.etaxonomy.cdm.io.taxonx
Class TaxonXImportConfigurator
java.lang.Object
eu.etaxonomy.cdm.io.common.ObservableBase
eu.etaxonomy.cdm.io.common.IoConfiguratorBase
eu.etaxonomy.cdm.io.common.ImportConfiguratorBase<TaxonXImportState,URI>
eu.etaxonomy.cdm.io.taxonx.TaxonXImportConfigurator
- All Implemented Interfaces:
- IImportConfigurator, IIoConfigurator, IIoObservable
public class TaxonXImportConfigurator
- extends ImportConfiguratorBase<TaxonXImportState,URI>
- implements IImportConfigurator
- Version:
- 1.0
- Author:
- a.mueller
| Methods inherited from class eu.etaxonomy.cdm.io.common.ImportConfiguratorBase |
getAuthenticationToken, getCheck, getClassificationName, getClassificationUuid, getCommentator, getDefaultFunction, getDestination, getDestinationNameString, getEditor, getFeatureMap, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceReferenceTitle, getSourceRefUuid, getSourceSecId, getTransformer, isCreateNew, isIgnoreNull, isOmitTermLoading, isValid, setCheck, setClassificationName, setClassificationUuid, setCommentator, setDestination, setEditor, setFeatureMap, setIgnoreNull, setIoClassList, setIoClassList, setNomenclaturalCode, setSecUuid, setSource, setSourceReference, setSourceReferenceTitle, setSourceRefUuid, setSourceSecId, setTransformer |
| Methods inherited from class eu.etaxonomy.cdm.io.common.IoConfiguratorBase |
authenticateAsDefaultAdmin, getCdmAppController, getDbSchemaValidation, getProgressMonitor, isUseClassification, setAuthentication, setAuthenticationToken, setCdmAppController, setDbSchemaValidation, setProgressMonitor, setUseClassification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.io.common.IImportConfigurator |
getCheck, getClassificationUuid, getCommentator, getDbSchemaValidation, getDestination, getEditor, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceReferenceTitle, getSourceSecId, getTransformer, isCreateNew, isIgnoreNull, isOmitTermLoading, isValid, setCheck, setClassificationUuid, setCommentator, setDbSchemaValidation, setDestination, setEditor, setIgnoreNull, setNomenclaturalCode, setSecUuid, setSourceReference, setSourceReferenceTitle, setTransformer |
| Methods inherited from interface eu.etaxonomy.cdm.io.common.IIoConfigurator |
authenticateAsDefaultAdmin, getAuthenticationToken, getCdmAppController, getDestinationNameString, getObservers, getProgressMonitor, setAuthentication, setAuthenticationToken, setCdmAppController, setObservers, setProgressMonitor |
makeIoClassList
protected void makeIoClassList()
- Specified by:
makeIoClassList in class ImportConfiguratorBase<TaxonXImportState,URI>
NewInstance
public static TaxonXImportConfigurator NewInstance(URI uri,
ICdmDataSource destination)
- Parameters:
uri - destination -
- Returns:
getNewState
public TaxonXImportState getNewState()
- Description copied from interface:
IImportConfigurator
- Factory method. Creates a new state for the import type and adds this configuration to it.
- Specified by:
getNewState in interface IImportConfigurator
- Returns:
getSourceRoot
public org.jdom.Element getSourceRoot()
getSourceReference
public Reference getSourceReference()
- Description copied from interface:
IImportConfigurator
- The reference that represents the source. E.g. if the import source is a database
the returned reference should be of type eu.etaxonomy.cdm.model.reference.Database and
should represent the according database.
If the import comes from a file (e.g. XML) the returned value should best represent the
source of this file (e.g. if the source of an XML file is a certain database this database
should be mentioned as the source. Otherwise a eu.etaxonomy.cdm.model.reference.Generic
reference with the name of the XML file should be returned value
- Specified by:
getSourceReference in interface IImportConfigurator- Specified by:
getSourceReference in class ImportConfiguratorBase<TaxonXImportState,URI>
- Returns:
getSourceNameString
public String getSourceNameString()
- Description copied from interface:
IIoConfigurator
- A String representation of the used source may it be a source to be imported (e.g. "BerlinModel Cichorieae Database")
or a source to be exported (e.g. "CDM Cichorieae Database")
- Specified by:
getSourceNameString in interface IIoConfigurator- Overrides:
getSourceNameString in class ImportConfiguratorBase<TaxonXImportState,URI>
- Returns:
- String representing the source for the io
getOriginalSourceTaxonNamespace
public String getOriginalSourceTaxonNamespace()
setOriginalSourceTaxonNamespace
public void setOriginalSourceTaxonNamespace(String originalSourceTaxonNamespace)
getOriginalSourceId
public String getOriginalSourceId()
setOriginalSourceId
public void setOriginalSourceId(String originalSourceId)
isDoMods
public boolean isDoMods()
- Returns:
- the doMods
setDoMods
public void setDoMods(boolean doMods)
- Parameters:
doMods - the doMods to set
isDoFacts
public boolean isDoFacts()
setDoFacts
public void setDoFacts(boolean doFacts)
isDoTypes
public boolean isDoTypes()
setDoTypes
public void setDoTypes(boolean doTypes)
isPublishReferences
public boolean isPublishReferences()
- Returns:
- the isPublishReferences
setPublishReferences
public void setPublishReferences(boolean isPublishReferences)
- Parameters:
isPublishReferences - the isPublishReferences to set
Copyright © 2007-2013 EDIT. All Rights Reserved.