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.ExcelImportConfiguratorBase;
|
15
|
import eu.etaxonomy.cdm.io.excel.common.ExcelRowBase;
|
16
|
import eu.etaxonomy.cdm.io.excel.common.ExcelTaxonOrSpecimenImportBase;
|
17
|
|
18
|
/**
|
19
|
* @author a.babadshanjan
|
20
|
* @created 09.01.2009
|
21
|
* @version 1.0
|
22
|
*/
|
23
|
public abstract class TaxonExcelImportBase
|
24
|
extends ExcelTaxonOrSpecimenImportBase<TaxonExcelImportState, ExcelImportConfiguratorBase, ExcelRowBase> {
|
25
|
@SuppressWarnings("unused")
|
26
|
private static final Logger logger = Logger.getLogger(TaxonExcelImportBase.class);
|
27
|
|
28
|
/*
|
29
|
* Supported Columns:
|
30
|
* ------------------
|
31
|
* Id
|
32
|
* ParentId
|
33
|
* Rank
|
34
|
* ScientificName
|
35
|
* Author
|
36
|
* NameStatus
|
37
|
* VernacularName
|
38
|
* Language
|
39
|
*/
|
40
|
/*
|
41
|
* Not yet supported columns:
|
42
|
* --------------------------
|
43
|
* Reference
|
44
|
*/
|
45
|
|
46
|
protected static final String VERSION_COLUMN = "Version";
|
47
|
protected static final String ID_COLUMN = "Id";
|
48
|
|
49
|
protected static final String PARENT_ID_COLUMN = "ParentId";
|
50
|
protected static final String RANK_COLUMN = "Rank";
|
51
|
protected static final String AUTHOR_COLUMN = "Author";
|
52
|
protected static final String AUTHORS_COLUMN = "Authors";
|
53
|
protected static final String AUTHORSHIP_COLUMN = "Authorship";
|
54
|
|
55
|
protected static final String BASIONYM_AUTHOR_COLUMN = "Basionymauthor";
|
56
|
protected static final String PUBLISHING_AUTHOR_COLUMN = "Publishingauthor";
|
57
|
protected static final String NAMESTATUS_COLUMN = "NameStatus";
|
58
|
protected static final String NOMENCLATURAL_STATUS_COLUMN = "Nomenclaturalstatus";
|
59
|
|
60
|
protected static final String VERNACULAR_NAME_COLUMN = "VernacularName";
|
61
|
protected static final String LANGUAGE_COLUMN = "Language";
|
62
|
protected static final String REFERENCE_COLUMN = "Reference";
|
63
|
|
64
|
protected static final String PROTOLOGUE_COLUMN = "Protologue";
|
65
|
protected static final String IMAGE_COLUMN = "Image";
|
66
|
protected static final String TDWG_COLUMN = "TDWG";
|
67
|
protected static final String COUNTRY_COLUMN = "Country";
|
68
|
|
69
|
protected static final String SYNONYM_COLUMN = "Synonym";
|
70
|
|
71
|
protected static final String DATE_COLUMN = "Date";
|
72
|
protected static final String YEAR_COLUMN = "Year";
|
73
|
protected static final String FAMILY_COLUMN = "Family";
|
74
|
|
75
|
|
76
|
|
77
|
protected static final String BASIONYM_COLUMN = "Basionym";
|
78
|
protected static final String REPLACED_SYNONYM_COLUMN = "ReplacedSynonym";
|
79
|
protected static final String NOMENCLATURAL_SYNONYM_COLUMN = "NomenclaturalSynonym";
|
80
|
protected static final String ACCEPTED_ID_COLUMN = "AcceptedID";
|
81
|
protected static final String TAXONOMIC_STATUS = "TaxonomicStatusInTPL";
|
82
|
|
83
|
protected static final String INFRA_FAMILY_COLUMN = "InfraFamily";
|
84
|
protected static final String GENUS_COLUMN = "Genus";
|
85
|
protected static final String INFRA_GENUS_COLUMN = "Infragenus";
|
86
|
protected static final String SPECIES_COLUMN = "Species";
|
87
|
protected static final String INFRA_SPECIES_COLUMN = "InfraSpecies";
|
88
|
protected static final String INFRA_SPECIES_EPITHET_COLUMN = "Infraspecificepithet";
|
89
|
|
90
|
protected static final String INFRA_SPECIES_RANK_COLUMN = "Infraspecificrank";
|
91
|
protected static final String FULLNAME_COLUMN = "Fullnamewithoutfamilyandauthors";
|
92
|
protected static final String HYBRID_GENUS_COLUMN = "HybridGenus";
|
93
|
protected static final String HYBRID_COLUMN = "Hybrid";
|
94
|
|
95
|
protected static final String PUBLICATION_COLUMN = "Publication";
|
96
|
protected static final String COLLATION_COLUMN = "Collation";
|
97
|
protected static final String PAGE_COLUMN = "Page";
|
98
|
protected static final String PUBLICATION_YEAR_COLUMN = "PublicationYearFull";
|
99
|
protected static final String REMARKS_COLUMN = "Remarks";
|
100
|
protected static final String DISTRIBUTION_COLUMN = "Distribution";
|
101
|
protected static final String CITATION_TYPE_COLUMN = "Citationtype";
|
102
|
|
103
|
protected static final String IPNI_ID_COLUMN = "IPNIid";
|
104
|
protected static final String SOURCE_COLUMN = "Source";
|
105
|
protected static final String SOURCE_ID_COLUMN = "SourceId";
|
106
|
}
|
107
|
|
108
|
|