public class WfoAccessImportConfigurator extends CsvImportConfiguratorBase
IImportConfigurator.CHECK, IImportConfigurator.DO_REFERENCES, IImportConfigurator.EDITOR, IImportConfigurator.SOURCE_TYPE
ioBeans, ioClassList, ioList, sourceReference
authenticationToken, cdmApp, hibernateConfig, INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassificationName()
If
#isCreateTaxa() is true and if no
parent node uuid is given
the taxon to be created will be imported into a newly created
classification with the given classification name. |
WfoAccessImportState |
getNewState()
Factory method.
|
java.util.UUID |
getParentNodeUuid()
If
#isCreateTaxa() is true the taxon
to be created will be imported below the taxon node
with the given taxon node uuid. |
boolean |
isAddAuthorsToReference()
If
true the name authors will be added
to the nomenclatural reference (Book or Article) though
it might not be the exact same author.Default is true |
boolean |
isReportDuplicateIdentifier()
if
true duplicate identifiers like
Tropicos IDs
IPNI IDs or
WFO IDs will be reported. |
boolean |
isUnplaced()
If taxa are created (
#isCreateTaxa() should the according
taxon nodes be marked as unplaced? |
protected void |
makeIoClassList() |
static WfoAccessImportConfigurator |
NewInstance(java.io.InputStreamReader inputStream,
ICdmDataSource cdmDestination) |
static WfoAccessImportConfigurator |
NewInstance(java.net.URI uri,
ICdmDataSource cdmDestination) |
void |
setAddAuthorsToReference(boolean addAuthorsToReference) |
void |
setClassificationName(java.lang.String classificationName)
The classification name for the first classification.
|
void |
setParentNodeUuid(java.util.UUID parentNodeUuid) |
void |
setReportDuplicateIdentifier(boolean reportDuplicateIdentifier) |
void |
setUnplaced(boolean unplaced) |
getFieldSeparator, getSourceReference, getTransactionLineCount, newInputStream, setFieldSeparator, setTransactionLineCount
getAuthenticationToken, getCheck, getClassificationUuid, getCommentator, getDateString, getDefaultFunction, getDestination, getDestinationNameString, getEditor, getFeatureMap, getFeatureTreeTitle, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceNameString, getSourceReferenceTitle, getSourceRefUuid, getSourceSecId, getTransformer, getUuidFeatureTree, isCreateNew, isInteractWithUser, isOmitTermLoading, isRegisterAuditing, isValid, setCheck, setClassificationUuid, setCommentator, setDestination, setEditor, setFeatureMap, setFeatureTreeTitle, setInteractWithUser, setIoClassList, setIoClassList, setNomenclaturalCode, setRegisterAuditing, setSecUuid, setSource, setSourceReference, setSourceReferenceTitle, setSourceRefUuid, setSourceSecId, setTransformer, setUuidFeatureTree
authenticateAsDefaultAdmin, getCdmAppController, getDbSchemaValidation, getHibernateConfig, getProgressMonitor, getUserFriendlyIOName, isUseClassification, setAuthentication, setAuthenticationToken, setCdmAppController, setDbSchemaValidation, setProgressMonitor, setUseClassification, setUserFriendlyIOName
addObserver, addObservers, countObservers, fire, fireWarningEvent, fireWarningEvent, getObservers, removeObserver, removeObservers, setObservers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDbSchemaValidation, setDbSchemaValidation
authenticateAsDefaultAdmin, getCdmAppController, getHibernateConfig, getObservers, getProgressMonitor, getUserFriendlyIOName, setAuthentication, setAuthenticationToken, setCdmAppController, setObservers, setProgressMonitor
addObserver, addObservers, countObservers, removeObserver, removeObservers
public static WfoAccessImportConfigurator NewInstance(java.io.InputStreamReader inputStream, ICdmDataSource cdmDestination)
inputStream
- object
- public static WfoAccessImportConfigurator NewInstance(java.net.URI uri, ICdmDataSource cdmDestination) throws java.io.IOException
java.io.IOException
protected void makeIoClassList()
makeIoClassList
in class ImportConfiguratorBase<CsvImportState<CsvImportConfiguratorBase>,java.io.InputStreamReader>
public WfoAccessImportState getNewState()
CsvImportConfiguratorBase
getNewState
in interface IImportConfigurator
getNewState
in class CsvImportConfiguratorBase
public java.util.UUID getParentNodeUuid()
#isCreateTaxa()
is true
the taxon
to be created will be imported below the taxon node
with the given taxon node uuid.public void setParentNodeUuid(java.util.UUID parentNodeUuid)
public java.lang.String getClassificationName()
#isCreateTaxa()
is true
and if no
parent node uuid
is given
the taxon to be created will be imported into a newly created
classification with the given classification name.getClassificationName
in class ImportConfiguratorBase<CsvImportState<CsvImportConfiguratorBase>,java.io.InputStreamReader>
public void setClassificationName(java.lang.String classificationName)
ImportConfiguratorBase
setClassificationName
in class ImportConfiguratorBase<CsvImportState<CsvImportConfiguratorBase>,java.io.InputStreamReader>
classificationName
- the classificationName to setpublic boolean isUnplaced()
#isCreateTaxa()
should the according
taxon nodes be marked as unplaced?#isCreateTaxa()
,
getClassificationName()
,
getParentNodeUuid()
public void setUnplaced(boolean unplaced)
public boolean isAddAuthorsToReference()
true
the name authors will be added
to the nomenclatural reference (Book or Article) though
it might not be the exact same author.true
public void setAddAuthorsToReference(boolean addAuthorsToReference)
isAddAuthorsToReference()
public boolean isReportDuplicateIdentifier()
true
duplicate identifiers like
Tropicos IDs
IPNI IDs
or
WFO IDs
will be reported.
This is only relevant if duplicates are allowed,
otherwise the duplicates will be reported anyway.public void setReportDuplicateIdentifier(boolean reportDuplicateIdentifier)
isReportDuplicateIdentifier()
Copyright © 2007-2020 EDIT. All Rights Reserved.