1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.io.excel.taxa;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
|
14
|
import eu.etaxonomy.cdm.io.excel.common.ExcelTaxonOrSpecimenImportBase;
|
15
|
|
16
|
/**
|
17
|
* @author a.babadshanjan
|
18
|
* @created 09.01.2009
|
19
|
* @version 1.0
|
20
|
*/
|
21
|
public abstract class TaxonExcelImporterBase extends ExcelTaxonOrSpecimenImportBase<TaxonExcelImportState, NormalExplicitRow> {
|
22
|
@SuppressWarnings("unused")
|
23
|
private static final Logger logger = Logger.getLogger(TaxonExcelImporterBase.class);
|
24
|
|
25
|
/*
|
26
|
* Supported Columns:
|
27
|
* ------------------
|
28
|
* Id
|
29
|
* ParentId
|
30
|
* Rank
|
31
|
* ScientificName
|
32
|
* Author
|
33
|
* NameStatus
|
34
|
* VernacularName
|
35
|
* Language
|
36
|
*/
|
37
|
/*
|
38
|
* Not yet supported columns:
|
39
|
* --------------------------
|
40
|
* Reference
|
41
|
*/
|
42
|
|
43
|
protected static final String ID_COLUMN = "Id";
|
44
|
protected static final String PARENT_ID_COLUMN = "ParentId";
|
45
|
protected static final String RANK_COLUMN = "Rank";
|
46
|
protected static final String AUTHOR_COLUMN = "Author";
|
47
|
protected static final String NAME_STATUS_COLUMN = "NameStatus";
|
48
|
protected static final String VERNACULAR_NAME_COLUMN = "VernacularName";
|
49
|
protected static final String LANGUAGE_COLUMN = "Language";
|
50
|
protected static final String REFERENCE_COLUMN = "Reference";
|
51
|
|
52
|
protected static final String PROTOLOGUE_COLUMN = "Protologue";
|
53
|
protected static final String IMAGE_COLUMN = "Image";
|
54
|
protected static final String TDWG_COLUMN = "TDWG";
|
55
|
protected static final String COUNTRY_COLUMN = "Country";
|
56
|
|
57
|
}
|
58
|
|