eu.etaxonomy.cdm.io.berlinModel.in
Class BerlinModelImportConfigurator
java.lang.Object
eu.etaxonomy.cdm.io.common.ObservableBase
eu.etaxonomy.cdm.io.common.IoConfiguratorBase
eu.etaxonomy.cdm.io.common.ImportConfiguratorBase<STATE,Source>
eu.etaxonomy.cdm.io.common.DbImportConfiguratorBase<BerlinModelImportState>
eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportConfigurator
- All Implemented Interfaces:
- IImportConfigurator, IIoConfigurator, IIoObservable
public class BerlinModelImportConfigurator
- extends DbImportConfiguratorBase<BerlinModelImportState>
- 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, getSourceReferenceTitle, getSourceRefUuid, getSourceSecId, getTransformer, isCreateNew, isIgnoreNull, isInteractWithUser, isOmitTermLoading, isValid, setCheck, setClassificationName, setClassificationUuid, setCommentator, setDestination, setEditor, setFeatureMap, setIgnoreNull, setInteractWithUser, setIoClassList, setIoClassList, setNomenclaturalCode, setSecUuid, 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, getSourceReference, 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, getSourceNameString, setAuthentication, setAuthenticationToken, setCdmAppController, setObservers, setProgressMonitor |
BerlinModelImportConfigurator
protected BerlinModelImportConfigurator(Source berlinModelSource,
ICdmDataSource destination)
- Parameters:
berlinModelSource
- sourceReference
- destination
-
NewInstance
public static BerlinModelImportConfigurator NewInstance(Source berlinModelSource,
ICdmDataSource destination)
makeIoClassList
protected void makeIoClassList()
- Specified by:
makeIoClassList
in class ImportConfiguratorBase<BerlinModelImportState,Source>
getNewState
public BerlinModelImportState 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:
isDoRelNames
public boolean isDoRelNames()
- Import name relationships yes/no?.
- Returns:
setDoRelNames
public void setDoRelNames(boolean doRelNames)
addProParteSynonym
protected void addProParteSynonym(Synonym proParteSynonym)
isProParteSynonym
protected boolean isProParteSynonym(Synonym synonym)
addPartialSynonym
protected void addPartialSynonym(Synonym partialSynonym)
isPartialSynonym
protected boolean isPartialSynonym(Synonym synonym)
getMediaUrl
public URL getMediaUrl()
- Returns:
- the mediaUrl
setMediaUrl
public void setMediaUrl(URL mediaUrl)
- Parameters:
mediaUrl
- the mediaUrl to set
getMediaPath
public File getMediaPath()
- Returns:
- the mediaPath
setMediaPath
public void setMediaPath(File mediaPath)
- Parameters:
mediaPath
- the mediaPath to set
setMediaPath
public void setMediaPath(String mediaPathString)
setMediaUrl
public void setMediaUrl(String mediaUrlString)
getMaximumNumberOfNameFacts
public int getMaximumNumberOfNameFacts()
- Returns:
- the maximumNumberOfNameFacts
setMaximumNumberOfNameFacts
public void setMaximumNumberOfNameFacts(int maximumNumberOfNameFacts)
- set to 0 for unlimited
- Parameters:
maximumNumberOfNameFacts
- the maximumNumberOfNameFacts to set
isIgnore0AuthorTeam
public boolean isIgnore0AuthorTeam()
- If true, an authorTeam with authorTeamId = 0 is not imported (casus Salvador)
- Returns:
- the isIgnore0AuthorTeam
setIgnore0AuthorTeam
public void setIgnore0AuthorTeam(boolean isIgnore0AuthorTeam)
- Parameters:
isIgnore0AuthorTeam
- the isIgnore0AuthorTeam to set
getNamerelationshipTypeMethod
public Method getNamerelationshipTypeMethod()
- Returns:
- the namerelationshipTypeMethod
setNamerelationshipTypeMethod
public void setNamerelationshipTypeMethod(Method namerelationshipTypeMethod)
- Parameters:
namerelationshipTypeMethod
- the namerelationshipTypeMethod to set
getTaxonPublishMarker
public BerlinModelTaxonImport.PublishMarkerChooser getTaxonPublishMarker()
- Returns:
- the taxonPublishMarker
setTaxonPublishMarker
public void setTaxonPublishMarker(BerlinModelTaxonImport.PublishMarkerChooser taxonPublishMarker)
- Parameters:
taxonPublishMarker
- the taxonPublishMarker to set
getUuidForDefTermMethod
public Method getUuidForDefTermMethod()
- Returns:
- the uuidForDefTermMethod
setUuidForDefTermMethod
public void setUuidForDefTermMethod(Method uuidForDefTermMethod)
- Parameters:
uuidForDefTermMethod
- the uuidForDefTermMethod to set
getNameTypeDesignationStatusMethod
public Method getNameTypeDesignationStatusMethod()
- Returns:
- the nameTypeDesignationStatusMethod
setNameTypeDesignationStatusMethod
public void setNameTypeDesignationStatusMethod(Method nameTypeDesignationStatusMethod)
- Parameters:
nameTypeDesignationStatusMethod
- the nameTypeDesignationStatusMethod to set
isDoNameStatus
public boolean isDoNameStatus()
setDoNameStatus
public void setDoNameStatus(boolean doNameStatus)
isDoCommonNames
public boolean isDoCommonNames()
setDoCommonNames
public void setDoCommonNames(boolean doCommonNames)
- Parameters:
doCommonNames
-
isDoFacts
public boolean isDoFacts()
setDoFacts
public void setDoFacts(boolean doFacts)
isDoOccurrence
public boolean isDoOccurrence()
setDoOccurrence
public void setDoOccurrence(boolean doOccurrence)
isDoMarker
public boolean isDoMarker()
setDoMarker
public void setDoMarker(boolean doMarker)
isDoUser
public boolean isDoUser()
setDoUser
public void setDoUser(boolean doUser)
isDoNameFacts
public boolean isDoNameFacts()
setDoNameFacts
public void setDoNameFacts(boolean doNameFacts)
isDoAuthors
public boolean isDoAuthors()
setDoAuthors
public void setDoAuthors(boolean doAuthors)
getDoReferences
public IImportConfigurator.DO_REFERENCES getDoReferences()
setDoReferences
public void setDoReferences(IImportConfigurator.DO_REFERENCES doReferences)
isDoTaxonNames
public boolean isDoTaxonNames()
setDoTaxonNames
public void setDoTaxonNames(boolean doTaxonNames)
isDoTypes
public boolean isDoTypes()
setDoTypes
public void setDoTypes(boolean doTypes)
isDoTaxa
public boolean isDoTaxa()
setDoTaxa
public void setDoTaxa(boolean doTaxa)
isDoRelTaxa
public boolean isDoRelTaxa()
setDoRelTaxa
public void setDoRelTaxa(boolean doRelTaxa)
getTaxonTable
public String getTaxonTable()
setTaxonTable
public void setTaxonTable(String taxonTable)
- Parameters:
taxonTable
- the taxonTable to set
getClassificationQuery
public String getClassificationQuery()
setClassificationQuery
public void setClassificationQuery(String classificationQuery)
- Parameters:
classificationQuery
- the classificationQuery to set
setRelTaxaIdQuery
public void setRelTaxaIdQuery(String relTaxaIdQuery)
- Parameters:
relTaxaIdQuery
- the relTaxaIdQuery to set
getRelTaxaIdQuery
public String getRelTaxaIdQuery()
getNameIdTable
public String getNameIdTable()
- Returns:
- the nameIdTable
setNameIdTable
public void setNameIdTable(String nameIdTable)
- Parameters:
nameIdTable
- the nameIdTable to set
setReferenceIdTable
public void setReferenceIdTable(String referenceIdTable)
getReferenceIdTable
public String getReferenceIdTable()
setFactFilter
public void setFactFilter(String factFilter)
getFactFilter
public String getFactFilter()
getOccurrenceFilter
public String getOccurrenceFilter()
setOccurrenceFilter
public void setOccurrenceFilter(String occurrenceFilter)
getCommonNameFilter
public String getCommonNameFilter()
setCommonNameFilter
public void setCommonNameFilter(String commonNameFilter)
getOccurrenceSourceFilter
public String getOccurrenceSourceFilter()
setOccurrenceSourceFilter
public void setOccurrenceSourceFilter(String occurrenceSourceFilter)
getWebMarkerFilter
public String getWebMarkerFilter()
setWebMarkerFilter
public void setWebMarkerFilter(String webMarkerFilter)
isUseSingleClassification
public boolean isUseSingleClassification()
setUseSingleClassification
public void setUseSingleClassification(boolean useSingleClassification)
setAuthorTeamFilter
public void setAuthorTeamFilter(String authorTeamFilter)
getAuthorTeamFilter
public String getAuthorTeamFilter()
getAuthorFilter
public String getAuthorFilter()
setAuthorFilter
public void setAuthorFilter(String authorFilter)
isSwitchSpeciesGroup
public boolean isSwitchSpeciesGroup()
setSwitchSpeciesGroup
public void setSwitchSpeciesGroup(boolean switchSpeciesGroup)
- If true, the rankId for speicesGroup is changed from 59 to 57 and
59 is used for coll. species instead
- Parameters:
switchSpeciesGroup
-
isSplitTdwgCodes
public boolean isSplitTdwgCodes()
setSplitTdwgCodes
public void setSplitTdwgCodes(boolean isSplitTdwgCodes)
getMakeUrlForTaxon
public Method getMakeUrlForTaxon()
setMakeUrlForTaxon
public void setMakeUrlForTaxon(Method makeUrlForTaxon)
getInfrGenericRankAbbrev
public String getInfrGenericRankAbbrev()
setInfrGenericRankAbbrev
public void setInfrGenericRankAbbrev(String infrGenericRankAbbrev)
getInfrSpecificRankAbbrev
public String getInfrSpecificRankAbbrev()
setInfrSpecificRankAbbrev
public void setInfrSpecificRankAbbrev(String infrSpecificRankAbbrev)
isRemoveHttpMapsAnchor
public boolean isRemoveHttpMapsAnchor()
setRemoveHttpMapsAnchor
public void setRemoveHttpMapsAnchor(boolean removeHttpMapsAnchor)
isIncludeFlatClassifications
public boolean isIncludeFlatClassifications()
setIncludeFlatClassifications
public void setIncludeFlatClassifications(boolean includeFlatClassifications)
isIncludesAreaEmCode
public boolean isIncludesAreaEmCode()
setIncludesEmCode
public void setIncludesEmCode(boolean includesEmCode)
isAllowInfraSpecTaxonRank
public boolean isAllowInfraSpecTaxonRank()
setAllowInfraSpecTaxonRank
public void setAllowInfraSpecTaxonRank(boolean allowInfraSpecTaxonRank)
isIncludeAllNonMisappliedRelatedClassifications
public boolean isIncludeAllNonMisappliedRelatedClassifications()
setIncludeAllNonMisappliedRelatedClassifications
public void setIncludeAllNonMisappliedRelatedClassifications(boolean includeAllNonMisappliedRelatedClassifications)
Copyright © 2007-2013 EDIT. All Rights Reserved.