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