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

java.lang.Object
  extended by eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration
      extended by eu.etaxonomy.cdm.io.common.CdmIoBase<STATE>
          extended by eu.etaxonomy.cdm.io.common.CdmImportBase<CONFIG,STATE>
              extended by eu.etaxonomy.cdm.io.specimen.SpecimenImportBase<SpecimenExcelImportConfigurator,SpecimenExcelImportState>
                  extended by eu.etaxonomy.cdm.io.specimen.excel.in.SpecimenExcelImport
All Implemented Interfaces:
ICdmApplicationConfiguration, ICdmImport<SpecimenExcelImportConfigurator,SpecimenExcelImportState>, ICdmIO<SpecimenExcelImportState>

@Component
public class SpecimenExcelImport
extends SpecimenImportBase<SpecimenExcelImportConfigurator,SpecimenExcelImportState>
implements ICdmIO<SpecimenExcelImportState>

Version:
1.0
Author:
p.kelbert

Field Summary
protected  String accessionNumber
           
protected  int altitude
           
protected  String collectionCode
           
protected  String collectorsNumber
           
protected  String country
           
protected  int depth
           
protected  String fieldNumber
           
protected  String fullScientificNameString
           
protected  ArrayList<String> gatheringAgentList
           
protected  org.apache.poi.hssf.usermodel.HSSFWorkbook hssfworkbook
           
protected  ArrayList<String> identificationList
           
protected  String institutionCode
           
protected  String isocountry
           
protected  String languageIso
           
protected  Double latitude
           
protected  String locality
           
protected  Double longitude
           
protected  ArrayList<String> multimediaObjects
           
protected  ArrayList<String> namedAreaList
           
protected  String nomenclatureCode
           
protected  String recordBasis
           
protected  String unitID
           
 
Fields inherited from class eu.etaxonomy.cdm.io.common.CdmIoBase
ioName
 
Fields inherited from interface eu.etaxonomy.cdm.io.common.ICdmIO
FEATURE_STORE, NOMREF_DETAIL_STORE, NOMREF_STORE, PERSON_STORE, REF_DETAIL_STORE, REFERENCE_STORE, SPECIMEN_STORE, TAXON_STORE, TAXONNAME_STORE, TEAM_STORE, USER_STORE
 
Constructor Summary
SpecimenExcelImport()
           
 
Method Summary
protected  boolean doCheck(SpecimenExcelImportState state)
           
protected  boolean doInvoke(SpecimenExcelImportState state)
           
protected  boolean isIgnore(SpecimenExcelImportState state)
          Returns true if this (IO-)class should be ignored during the import/export process.
 boolean start(SpecimenExcelImportConfigurator config)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.common.CdmImportBase
addOriginalSource, addOriginalSource, fillMissingEpithets, fillMissingEpithetsForTaxa, getAnnotationType, getExtensionType, getFeature, getImageMedia, getLanguage, getMarkerType, getMarkerType, getNamedArea, getTaxonDescription, makeTree, makeTreeMemSave
 
Methods inherited from class eu.etaxonomy.cdm.io.common.CdmIoBase
check, commitTransaction, flush, getInstance, getSuccessString, invoke, startTransaction, startTransaction, updateProgress, updateProgress, warnProgress
 
Methods inherited from class eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration
getAgentService, getAuthenticationManager, getClassificationService, getCollectionService, getCommonService, getDatabaseService, getDescriptionService, getFeatureNodeService, getFeatureTreeService, getIdentificationKeyService, getLocationService, getMainService, getMediaService, getNameService, getOccurrenceService, getPolytomousKeyService, getReferenceService, getTaxonNodeService, getTaxonService, getTermService, getTransactionManager, getUserService, getVocabularyService, getWorkingSetService, NewConversation
 
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.ICdmIO
check, invoke, updateProgress, updateProgress, warnProgress
 

Field Detail

fullScientificNameString

protected String fullScientificNameString

nomenclatureCode

protected String nomenclatureCode

institutionCode

protected String institutionCode

collectionCode

protected String collectionCode

unitID

protected String unitID

recordBasis

protected String recordBasis

accessionNumber

protected String accessionNumber

collectorsNumber

protected String collectorsNumber

fieldNumber

protected String fieldNumber

longitude

protected Double longitude

latitude

protected Double latitude

locality

protected String locality

languageIso

protected String languageIso

country

protected String country

isocountry

protected String isocountry

depth

protected int depth

altitude

protected int altitude

gatheringAgentList

protected ArrayList<String> gatheringAgentList

identificationList

protected ArrayList<String> identificationList

namedAreaList

protected ArrayList<String> namedAreaList

multimediaObjects

protected ArrayList<String> multimediaObjects

hssfworkbook

protected org.apache.poi.hssf.usermodel.HSSFWorkbook hssfworkbook
Constructor Detail

SpecimenExcelImport

public SpecimenExcelImport()
Method Detail

start

public boolean start(SpecimenExcelImportConfigurator config)

isIgnore

protected boolean isIgnore(SpecimenExcelImportState state)
Description copied from class: CdmIoBase
Returns true if this (IO-)class should be ignored during the import/export process. This information is usually stored in the configuration

Specified by:
isIgnore in class CdmIoBase<SpecimenExcelImportState>
Returns:

doInvoke

protected boolean doInvoke(SpecimenExcelImportState state)
Specified by:
doInvoke in class SpecimenImportBase<SpecimenExcelImportConfigurator,SpecimenExcelImportState>

doCheck

protected boolean doCheck(SpecimenExcelImportState state)
Specified by:
doCheck in class CdmIoBase<SpecimenExcelImportState>


Copyright © 2007-2010 EDIT. All Rights Reserved.