public class MarkupImportState extends XmlImportState<MarkupImportConfigurator,MarkupDocumentImport>
service, stores
config
Constructor and Description |
---|
MarkupImportState(MarkupImportConfigurator config) |
Modifier and Type | Method and Description |
---|---|
void |
addCollectionAndType(java.lang.String txt) |
void |
addCurrentArea(NamedArea area) |
boolean |
addNewFeatureSorterLists(java.lang.String key)
Adds new lists to the feature sorter list maps using the given key.
|
java.util.UUID |
getAreaUuid(java.lang.Object key) |
java.lang.String |
getBaseMediaUrl() |
java.util.Map<java.lang.String,java.util.List<FeatureSorterInfo>> |
getCharFeatureSorterListMap() |
java.lang.String |
getCollectionAndType() |
Collection |
getCollectionByCode(java.lang.String code) |
java.util.Set<NamedArea> |
getCurrentAreas() |
TeamOrPersonBase<?> |
getCurrentCollector() |
PolytomousKey |
getCurrentKey() |
Taxon |
getCurrentTaxon() |
java.lang.String |
getCurrentTaxonNum() |
ImportDeduplicationHelper<MarkupImportState> |
getDeduplicationHelper(ICdmRepository repository) |
Language |
getDefaultLanguage() |
Media |
getFigure(java.lang.String key) |
java.util.Set<AnnotatableEntity> |
getFigureDemands(java.lang.String figureId) |
FootnoteDataHolder |
getFootnote(java.lang.String key) |
java.util.Set<AnnotatableEntity> |
getFootnoteDemands(java.lang.String footnoteId) |
java.util.Map<java.lang.String,java.util.List<FeatureSorterInfo>> |
getGeneralFeatureSorterListMap() |
TeamOrPersonBase<?> |
getLatestAuthorInHomotype() |
FeatureSorterInfo |
getLatestCharFeatureSorterInfo() |
java.lang.String |
getLatestGenusEpithet() |
Reference |
getLatestReferenceInHomotype() |
java.lang.String |
getNameStatus() |
java.util.Set<PolytomousKeyNode> |
getPolytomousKeyNodesToSave() |
java.util.Set<TermNode> |
getTermNodesToSave() |
java.util.UUID |
getUnknownFeatureUuid(java.lang.String featureLabel) |
UnmatchedLeads |
getUnmatchedLeads() |
boolean |
isCitation()
Is the import currently handling a citation?
|
boolean |
isCurrentTaxonExcluded() |
boolean |
isFirstSpecimenInFacade() |
boolean |
isNameType() |
boolean |
isOnlyNumberedTaxaExist() |
boolean |
isProParte() |
boolean |
isSpecimenType() |
boolean |
isTaxonInClassification() |
boolean |
isTaxonIsHybrid() |
java.util.UUID |
putAreaUuid(java.lang.String key,
java.util.UUID value) |
void |
putCollectionByCode(java.lang.String code,
Collection collection) |
FeatureSorterInfo |
putFeatureToCharSorterList(Feature feature) |
void |
putFeatureToGeneralSorterList(Feature feature) |
void |
putFigureDemands(java.lang.String figureId,
java.util.Set<AnnotatableEntity> demands) |
void |
putFootnoteDemands(java.lang.String footnoteId,
java.util.Set<AnnotatableEntity> demands) |
void |
putUnknownFeatureUuid(java.lang.String featureLabel,
java.util.UUID featureUuid) |
void |
registerFigure(java.lang.String key,
Media figure) |
void |
registerFootnote(FootnoteDataHolder footnote) |
void |
removeCurrentAreas() |
protected void |
reset()
This method resets all those variables that should not be reused from one import to another.
|
void |
resetCollectionAndType() |
void |
setBaseMediaUrl(java.lang.String baseMediaUrl) |
void |
setCitation(boolean isCitation) |
void |
setCurrentCollector(TeamOrPersonBase<?> currentCollector) |
void |
setCurrentKey(PolytomousKey key) |
void |
setCurrentTaxon(Taxon currentTaxon) |
void |
setCurrentTaxonExcluded(boolean currentTaxonExcluded) |
void |
setCurrentTaxonNum(java.lang.String currentTaxonNum) |
void |
setDeduplicationHelper(ImportDeduplicationHelper<MarkupImportState> deduplicationHelper) |
void |
setDefaultLanguage(Language defaultLanguage) |
void |
setFirstSpecimenInFacade(boolean firstSpecimenInFacade) |
void |
setLatestAuthorInHomotype(TeamOrPersonBase<?> latestAuthorInHomotype) |
void |
setLatestGenusEpithet(java.lang.String latestGenusEpithet) |
void |
setLatestReferenceInHomotype(Reference latestReferenceInHomotype) |
void |
setNameStatus(java.lang.String nameStatus) |
void |
setNameType(boolean isNameType) |
void |
setOnlyNumberedTaxaExist(boolean onlyNumberedTaxaExist) |
void |
setPolytomousKeyNodesToSave(java.util.Set<PolytomousKeyNode> polytomousKeyNodesToSave) |
void |
setProParte(boolean isProParte) |
void |
setSpecimenType(boolean isSpecimenType) |
void |
setTaxonInClassification(boolean taxonInClassification) |
void |
setTaxonIsHybrid(boolean taxonIsHybrid) |
void |
setTermNodesToSave(java.util.Set<TermNode> termNodesToSave) |
void |
setUnmatchedLeads(UnmatchedLeads unmatchedKeys) |
getReader, setReader
countTrees, countTreeUuids, getAnnotationType, getExtensionType, getFeature, getIdentifierType, getKindOfUnit, getLanguage, getMarkerType, getMeasurementUnit, getModifier, getNamedArea, getNamedAreaLevel, getNomenclaturalStatusType, getPresenceAbsenceTerm, getRank, getReferenceSystem, getReportAsByteArray, getStateTerm, getStatisticalMeasure, getStatusItem, getStore, getStores, getTaxonRelationshipType, getTermedVocabulary, getTransformer, getTree, getTreeUuid, getTreeUuidByIntTreeKey, getTreeUuidByTreeKey, isCheck, isSuccess, putAnnotationType, putClassificationUuid, putClassificationUuidInt, putExtensionType, putFeature, putIdentifierType, putKindOfUnit, putLanguage, putMarkerType, putMeasurementUnit, putModifier, putNamedArea, putNamedAreaLevel, putNomenclaturalStatusType, putPresenceAbsenceTerm, putRank, putReferenceSystem, putStateTerm, putStatisticalMeasure, putStatusItem, putTaxonRelationshipType, putTermedVocabularyMap, putTree, putTreeUuid, resetUuidTermMaps, setCheck, setStores, setSuccess, setTransformer, setUnsuccessfull
getConfig, getCurrentIO, getResult, initialize, setConfig, setCurrentIO, setResult
public MarkupImportState(MarkupImportConfigurator config)
protected void reset()
public UnmatchedLeads getUnmatchedLeads()
public void setUnmatchedLeads(UnmatchedLeads unmatchedKeys)
public void setTermNodesToSave(java.util.Set<TermNode> termNodesToSave)
public java.util.Set<TermNode> getTermNodesToSave()
public java.util.Set<PolytomousKeyNode> getPolytomousKeyNodesToSave()
public void setPolytomousKeyNodesToSave(java.util.Set<PolytomousKeyNode> polytomousKeyNodesToSave)
public Language getDefaultLanguage()
public void setDefaultLanguage(Language defaultLanguage)
public void setCurrentTaxon(Taxon currentTaxon)
public Taxon getCurrentTaxon()
public void setCurrentTaxonNum(java.lang.String currentTaxonNum)
public java.lang.String getCurrentTaxonNum()
public boolean isCitation()
public void setCitation(boolean isCitation)
public boolean isNameType()
public void setNameType(boolean isNameType)
public void setProParte(boolean isProParte)
public boolean isProParte()
public void setBaseMediaUrl(java.lang.String baseMediaUrl)
public java.lang.String getBaseMediaUrl()
public void registerFootnote(FootnoteDataHolder footnote)
public FootnoteDataHolder getFootnote(java.lang.String key)
public void registerFigure(java.lang.String key, Media figure)
public Media getFigure(java.lang.String key)
public java.util.Set<AnnotatableEntity> getFootnoteDemands(java.lang.String footnoteId)
public void putFootnoteDemands(java.lang.String footnoteId, java.util.Set<AnnotatableEntity> demands)
public java.util.Set<AnnotatableEntity> getFigureDemands(java.lang.String figureId)
public void putFigureDemands(java.lang.String figureId, java.util.Set<AnnotatableEntity> demands)
public void setCurrentKey(PolytomousKey key)
key
- public PolytomousKey getCurrentKey()
public java.util.UUID getAreaUuid(java.lang.Object key)
key
- Map.get(java.lang.Object)
public java.util.UUID putAreaUuid(java.lang.String key, java.util.UUID value)
key
- value
- Map.put(java.lang.Object, java.lang.Object)
public void putUnknownFeatureUuid(java.lang.String featureLabel, java.util.UUID featureUuid)
public boolean isOnlyNumberedTaxaExist()
public void setOnlyNumberedTaxaExist(boolean onlyNumberedTaxaExist)
public java.util.Map<java.lang.String,java.util.List<FeatureSorterInfo>> getGeneralFeatureSorterListMap()
public java.util.Map<java.lang.String,java.util.List<FeatureSorterInfo>> getCharFeatureSorterListMap()
public java.util.UUID getUnknownFeatureUuid(java.lang.String featureLabel)
public boolean addNewFeatureSorterLists(java.lang.String key)
key
- Key that identifies the feature sorter list.true
if at least 1 list already exited for the given key. false
otherwise.public FeatureSorterInfo putFeatureToCharSorterList(Feature feature)
feature
- public FeatureSorterInfo getLatestCharFeatureSorterInfo()
public void putFeatureToGeneralSorterList(Feature feature)
feature
- public java.lang.String getLatestGenusEpithet()
public void setLatestGenusEpithet(java.lang.String latestGenusEpithet)
public boolean isTaxonInClassification()
public void setTaxonInClassification(boolean taxonInClassification)
public TeamOrPersonBase<?> getCurrentCollector()
public void setCurrentCollector(TeamOrPersonBase<?> currentCollector)
public void addCurrentArea(NamedArea area)
public java.util.Set<NamedArea> getCurrentAreas()
public void removeCurrentAreas()
public TeamOrPersonBase<?> getLatestAuthorInHomotype()
public void setLatestAuthorInHomotype(TeamOrPersonBase<?> latestAuthorInHomotype)
public Reference getLatestReferenceInHomotype()
public void setLatestReferenceInHomotype(Reference latestReferenceInHomotype)
public void setSpecimenType(boolean isSpecimenType)
public boolean isSpecimenType()
public Collection getCollectionByCode(java.lang.String code)
public void putCollectionByCode(java.lang.String code, Collection collection)
public void addCollectionAndType(java.lang.String txt)
public java.lang.String getCollectionAndType()
public void resetCollectionAndType()
public boolean isCurrentTaxonExcluded()
public void setCurrentTaxonExcluded(boolean currentTaxonExcluded)
public boolean isFirstSpecimenInFacade()
public void setFirstSpecimenInFacade(boolean firstSpecimenInFacade)
public ImportDeduplicationHelper<MarkupImportState> getDeduplicationHelper(ICdmRepository repository)
public void setDeduplicationHelper(ImportDeduplicationHelper<MarkupImportState> deduplicationHelper)
public void setNameStatus(java.lang.String nameStatus)
public java.lang.String getNameStatus()
public boolean isTaxonIsHybrid()
public void setTaxonIsHybrid(boolean taxonIsHybrid)
Copyright © 2007-2020 EDIT. All Rights Reserved.