1
|
/**
|
2
|
* Copyright (C) 2009 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.cyprus;
|
11
|
|
12
|
import java.util.TreeMap;
|
13
|
|
14
|
import org.apache.log4j.Logger;
|
15
|
|
16
|
/**
|
17
|
* @author a.babadshanjan
|
18
|
* @since 13.01.2009
|
19
|
* @version 1.0
|
20
|
*/
|
21
|
public class CyprusRow {
|
22
|
@SuppressWarnings("unused")
|
23
|
private static final Logger logger = Logger.getLogger(CyprusRow.class);
|
24
|
|
25
|
private String species;
|
26
|
private String subspecies;
|
27
|
private String homotypicSynonyms;
|
28
|
private String heterotypicSynonyms;
|
29
|
private String endemism;
|
30
|
private String status;
|
31
|
private String redDataBookCategory;
|
32
|
private String systematics;
|
33
|
private String genus;
|
34
|
private String family;
|
35
|
private String division;
|
36
|
|
37
|
//Sets
|
38
|
private TreeMap<Integer, String> distributions = new TreeMap<Integer, String>();
|
39
|
|
40
|
|
41
|
|
42
|
public CyprusRow() {
|
43
|
this.species = "";
|
44
|
this.subspecies = "";
|
45
|
this.homotypicSynonyms = "";
|
46
|
this.heterotypicSynonyms = "";
|
47
|
this.endemism = "";
|
48
|
this.status = "";
|
49
|
this.setRedDataBookCategory("");
|
50
|
this.systematics = "";
|
51
|
this.genus = "";
|
52
|
this.family = "";
|
53
|
this.division = "";
|
54
|
}
|
55
|
|
56
|
// public CyprusRow(String name, int parentId) {
|
57
|
// this(name, parentId, null);
|
58
|
// }
|
59
|
|
60
|
// public CyprusRow(String scientificName, int parentId, String reference) {
|
61
|
// this.parentId = parentId;
|
62
|
// this.scientificName = scientificName;
|
63
|
// this.reference = reference;
|
64
|
// }
|
65
|
|
66
|
// **************************** GETTER / SETTER *********************************/
|
67
|
|
68
|
|
69
|
|
70
|
public void putDistribution(int key, String distribution){
|
71
|
this.distributions.put(key, distribution);
|
72
|
}
|
73
|
|
74
|
public String getSpecies() {
|
75
|
return species;
|
76
|
}
|
77
|
|
78
|
public void setSpecies(String species) {
|
79
|
this.species = species;
|
80
|
}
|
81
|
|
82
|
public String getSubspecies() {
|
83
|
return subspecies;
|
84
|
}
|
85
|
|
86
|
public void setSubspecies(String subspecies) {
|
87
|
this.subspecies = subspecies;
|
88
|
}
|
89
|
|
90
|
public String getHomotypicSynonyms() {
|
91
|
return homotypicSynonyms;
|
92
|
}
|
93
|
|
94
|
public void setHomotypicSynonyms(String homotypicSynonyms) {
|
95
|
this.homotypicSynonyms = homotypicSynonyms;
|
96
|
}
|
97
|
|
98
|
public String getHeterotypicSynonyms() {
|
99
|
return heterotypicSynonyms;
|
100
|
}
|
101
|
|
102
|
public void setHeterotypicSynonyms(String heterotypicSynonyms) {
|
103
|
this.heterotypicSynonyms = heterotypicSynonyms;
|
104
|
}
|
105
|
|
106
|
public String getEndemism() {
|
107
|
return endemism;
|
108
|
}
|
109
|
|
110
|
public void setEndemism(String endemism) {
|
111
|
this.endemism = endemism;
|
112
|
}
|
113
|
|
114
|
public String getStatus() {
|
115
|
return status;
|
116
|
}
|
117
|
|
118
|
public void setStatus(String status) {
|
119
|
this.status = status;
|
120
|
}
|
121
|
|
122
|
public String getSystematics() {
|
123
|
return systematics;
|
124
|
}
|
125
|
|
126
|
public void setSystematics(String systematics) {
|
127
|
this.systematics = systematics;
|
128
|
}
|
129
|
|
130
|
public String getGenus() {
|
131
|
return genus;
|
132
|
}
|
133
|
|
134
|
public void setGenus(String genus) {
|
135
|
this.genus = genus;
|
136
|
}
|
137
|
|
138
|
public String getFamily() {
|
139
|
return family;
|
140
|
}
|
141
|
|
142
|
public void setFamily(String family) {
|
143
|
this.family = family;
|
144
|
}
|
145
|
|
146
|
public String getDivision() {
|
147
|
return division;
|
148
|
}
|
149
|
|
150
|
public void setDivision(String division) {
|
151
|
this.division = division;
|
152
|
}
|
153
|
|
154
|
|
155
|
public void setRedDataBookCategory(String redDataBookCategory) {
|
156
|
this.redDataBookCategory = redDataBookCategory;
|
157
|
}
|
158
|
|
159
|
public String getRedDataBookCategory() {
|
160
|
return redDataBookCategory;
|
161
|
}
|
162
|
|
163
|
}
|