eu.etaxonomy.cdm.io.specimen.excel.in
Class SpecimenExcelImportConfigurator

java.lang.Object
  extended by eu.etaxonomy.cdm.io.common.IoConfiguratorBase
      extended by eu.etaxonomy.cdm.io.common.ImportConfiguratorBase<SpecimenExcelImportState,URI>
          extended by eu.etaxonomy.cdm.io.specimen.excel.in.SpecimenExcelImportConfigurator
All Implemented Interfaces:
IImportConfigurator, IIoConfigurator

public class SpecimenExcelImportConfigurator
extends ImportConfiguratorBase<SpecimenExcelImportState,URI>
implements IImportConfigurator

Version:
1.0
Author:
p.kelbert

Nested Class Summary
 
Nested classes/interfaces inherited from interface eu.etaxonomy.cdm.io.common.IImportConfigurator
IImportConfigurator.CHECK, IImportConfigurator.DO_REFERENCES, IImportConfigurator.EDITOR
 
Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.common.ImportConfiguratorBase
ioBeans, ioClassList, ioList, sourceReference
 
Method Summary
 boolean getDoAutomaticParsing()
           
 boolean getDoReUseTaxon()
           
 SpecimenExcelImportState getNewState()
          Factory method.
 boolean getReUseExistingMetadata()
           
 String getSourceNameString()
          A String representation of the used source may it be a source to be imported (e.g.
 Reference getSourceReference()
          The reference that represents the source.
 Reference getTaxonReference()
           
protected  void makeIoClassList()
           
static SpecimenExcelImportConfigurator NewInstance(URI uri, ICdmDataSource destination)
           
 void setDoAutomaticParsing(boolean doParsing)
           
 void setReUseExistingMetadata(boolean reuseMetadata)
           
 void setReUseTaxon(boolean reuseTaxon)
           
 void setTaxonReference(String taxonReference)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.common.ImportConfiguratorBase
getCheck, getClassificationName, getClassificationUuid, getCommentator, getDefaultFunction, getDestination, getDestinationNameString, getEditor, getFeatureMap, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceReferenceTitle, getSourceSecId, getTransformer, isIgnoreNull, isValid, setCheck, setClassificationName, setClassificationUuid, setCommentator, setDestination, setEditor, setFeatureMap, setIgnoreNull, setIoClassList, setIoClassList, setNomenclaturalCode, setSecUuid, setSource, setSourceReference, setSourceReferenceTitle, setSourceSecId, setTransformer
 
Methods inherited from class eu.etaxonomy.cdm.io.common.IoConfiguratorBase
getCdmAppController, getDbSchemaValidation, getDoReferences, getProgressMonitor, isDoAuthors, isDoNameStatus, isDoRelNames, isDoRelTaxa, isDoTaxa, isDoTaxonNames, isDoTypes, isUseClassification, setCdmAppController, setDbSchemaValidation, setDoAuthors, setDoNameStatus, setDoReferences, setDoRelNames, setDoRelTaxa, setDoTaxa, setDoTaxonNames, setDoTypes, 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, getDoReferences, getEditor, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceReferenceTitle, getSourceSecId, getTransformer, isDoAuthors, isDoNameStatus, isDoRelNames, isDoRelTaxa, isDoTaxa, isDoTaxonNames, isDoTypes, isIgnoreNull, isValid, setCheck, setClassificationUuid, setCommentator, setDbSchemaValidation, setDestination, setDoAuthors, setDoNameStatus, setDoReferences, setDoRelNames, setDoRelTaxa, setDoTaxa, setDoTaxonNames, setDoTypes, setEditor, setIgnoreNull, setNomenclaturalCode, setSecUuid, setSourceReference, setSourceReferenceTitle, setTransformer
 
Methods inherited from interface eu.etaxonomy.cdm.io.common.IIoConfigurator
getCdmAppController, getDestinationNameString, getProgressMonitor, setCdmAppController, setProgressMonitor
 

Method Detail

makeIoClassList

protected void makeIoClassList()
Specified by:
makeIoClassList in class ImportConfiguratorBase<SpecimenExcelImportState,URI>

NewInstance

public static SpecimenExcelImportConfigurator NewInstance(URI uri,
                                                          ICdmDataSource destination)

getNewState

public SpecimenExcelImportState getNewState()
Description copied from interface: IImportConfigurator
Factory method. Creates a new state for the import type and adds this coniguration to it.

Specified by:
getNewState in interface IImportConfigurator
Returns:

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<SpecimenExcelImportState,URI>
Returns:

setTaxonReference

public void setTaxonReference(String taxonReference)

getTaxonReference

public Reference getTaxonReference()

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<SpecimenExcelImportState,URI>
Returns:
String representing the source for the io

setDoAutomaticParsing

public void setDoAutomaticParsing(boolean doParsing)

getDoAutomaticParsing

public boolean getDoAutomaticParsing()

setReUseExistingMetadata

public void setReUseExistingMetadata(boolean reuseMetadata)

getReUseExistingMetadata

public boolean getReUseExistingMetadata()

setReUseTaxon

public void setReUseTaxon(boolean reuseTaxon)

getDoReUseTaxon

public boolean getDoReUseTaxon()


Copyright © 2007-2010 EDIT. All Rights Reserved.