2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.io
.eflora
.centralAfrica
.ericaceae
;
14 import org
.apache
.log4j
.Logger
;
15 import org
.springframework
.stereotype
.Component
;
17 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
18 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.IInputTransformer
;
19 import eu
.etaxonomy
.cdm
.io
.eflora
.EfloraImportConfigurator
;
22 public class CentralAfricaEricaceaeImportConfigurator
extends EfloraImportConfigurator
{
23 @SuppressWarnings("unused")
24 private static final Logger logger
= Logger
.getLogger(CentralAfricaEricaceaeImportConfigurator
.class);
26 public static CentralAfricaEricaceaeImportConfigurator
NewInstance(URI uri
, ICdmDataSource destination
){
27 return new CentralAfricaEricaceaeImportConfigurator(uri
, destination
);
30 private static IInputTransformer defaultTransformer
= new CentralAfricaEricaceaeTransformer();
31 private String classificationTitle
= "Flore d'Afrique Centrale - Ericaceae";
32 private String sourceReferenceTitle
= "Flore d'Afrique Centrale - Ericaceae";
36 * @see eu.etaxonomy.cdm.io.common.ImportConfiguratorBase#makeIoClassList()
38 protected void makeIoClassList(){
39 ioClassList
= new Class
[]{
40 CentralAfricaEricaceaeTaxonImport
.class
45 private CentralAfricaEricaceaeImportConfigurator() {
53 private CentralAfricaEricaceaeImportConfigurator(URI uri
, ICdmDataSource destination
) {
54 super(uri
, destination
, defaultTransformer
);
55 this.setClassificationTitle(classificationTitle
);
56 this.setSourceReferenceTitle(sourceReferenceTitle
);
62 * @see eu.etaxonomy.cdm.io.common.IImportConfigurator#getNewState()
64 public CentralAfricaEricaceaeImportState
getNewState() {
65 return new CentralAfricaEricaceaeImportState(this);