first part of implementation for CDM Specimen import
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / specimen / excel / in / SpecimenRow.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.specimen.excel.in;
11
12 import java.util.HashMap;
13 import java.util.List;
14 import java.util.Map;
15 import java.util.UUID;
16
17 import org.apache.log4j.Logger;
18
19 /**
20 * @author a.mueller
21 * @created 08.04.2011
22 * @version 1.0
23 */
24 public class SpecimenRow {
25 @SuppressWarnings("unused")
26 private static final Logger logger = Logger.getLogger(SpecimenRow.class);
27
28 private UUID uuid = null;
29 private String basisOfRecord;
30 private String country;
31 private String isoCountry;
32 private String locality;
33 private String latitude;
34 private String longitude;
35 private String fieldNotes;
36 private String fieldNumber;
37 private String accessionNumber;
38 private String barcode;
39 private String author;
40 private String absoluteElevation;
41 private String family;
42 private String genus;
43 private String specificEpithet;
44 private String collector;
45 private String sex;
46 private String ecology;
47 private String plantDescription;
48 private String collectionCode;
49 private String collectingDate;
50 private String collectingDateEnd;
51 private String collectorsNumber;
52 private String sourceId;
53 private String source;
54 private String referenceSystem;
55 private String errorRadius;
56
57
58 // private Map<String, List<String>> commonNames = new HashMap<String, List<String>>();
59
60
61
62
63 public SpecimenRow() {
64
65 // commonNames = new HashMap<String, List<String>>();
66 }
67
68
69 // **************************** GETTER / SETTER *********************************/
70
71
72 public void setUuid(UUID uuid) {
73 this.uuid = uuid;
74 }
75
76
77 public UUID getUuid() {
78 return uuid;
79 }
80
81
82 public void setBasisOfRecord(String basisOfRecord) {
83 this.basisOfRecord = basisOfRecord;
84 }
85
86
87 public String getBasisOfRecord() {
88 return basisOfRecord;
89 }
90
91
92 public void setCountry(String country) {
93 this.country = country;
94 }
95
96
97 public String getCountry() {
98 return country;
99 }
100
101
102 public void setIsoCountry(String isoCountry) {
103 this.isoCountry = isoCountry;
104 }
105
106
107 public String getIsoCountry() {
108 return isoCountry;
109 }
110
111
112 public void setLocality(String locality) {
113 this.locality = locality;
114 }
115
116
117 public String getLocality() {
118 return locality;
119 }
120
121
122 public void setFieldNotes(String fieldNotes) {
123 this.fieldNotes = fieldNotes;
124 }
125
126
127 public String getFieldNotes() {
128 return fieldNotes;
129 }
130
131
132 public void setAccessionNumber(String accessionNumber) {
133 this.accessionNumber = accessionNumber;
134 }
135
136
137 public String getAccessionNumber() {
138 return accessionNumber;
139 }
140
141
142 public void setFieldNumber(String fieldNumber) {
143 this.fieldNumber = fieldNumber;
144 }
145
146
147 public String getFieldNumber() {
148 return fieldNumber;
149 }
150
151
152 public void setBarcode(String barcode) {
153 this.barcode = barcode;
154 }
155
156 /**
157 * @return the author
158 */
159 public String getAuthor() {
160 return author;
161 }
162
163
164 /**
165 * @param author the author to set
166 */
167 public void setAuthor(String author) {
168 this.author = author;
169 }
170
171
172 /**
173 * @return the absoluteElevation
174 */
175 public String getAbsoluteElevation() {
176 return absoluteElevation;
177 }
178
179
180 /**
181 * @param absoluteElevation the absoluteElevation to set
182 */
183 public void setAbsoluteElevation(String absoluteElevation) {
184 this.absoluteElevation = absoluteElevation;
185 }
186
187
188 /**
189 * @return the family
190 */
191 public String getFamily() {
192 return family;
193 }
194
195
196 /**
197 * @param family the family to set
198 */
199 public void setFamily(String family) {
200 this.family = family;
201 }
202
203
204 /**
205 * @return the genus
206 */
207 public String getGenus() {
208 return genus;
209 }
210
211
212 /**
213 * @param genus the genus to set
214 */
215 public void setGenus(String genus) {
216 this.genus = genus;
217 }
218
219
220 /**
221 * @return the specificEpithet
222 */
223 public String getSpecificEpithet() {
224 return specificEpithet;
225 }
226
227
228 /**
229 * @param specificEpithet the specificEpithet to set
230 */
231 public void setSpecificEpithet(String specificEpithet) {
232 this.specificEpithet = specificEpithet;
233 }
234
235
236 /**
237 * @return the collector
238 */
239 public String getCollector() {
240 return collector;
241 }
242
243
244 /**
245 * @param collector the collector to set
246 */
247 public void setCollector(String collector) {
248 this.collector = collector;
249 }
250
251
252 /**
253 * @return the ecology
254 */
255 public String getEcology() {
256 return ecology;
257 }
258
259
260 /**
261 * @param ecology the ecology to set
262 */
263 public void setEcology(String ecology) {
264 this.ecology = ecology;
265 }
266
267
268 /**
269 * @return the plantDescription
270 */
271 public String getPlantDescription() {
272 return plantDescription;
273 }
274
275
276 /**
277 * @param plantDescription the plantDescription to set
278 */
279 public void setPlantDescription(String plantDescription) {
280 this.plantDescription = plantDescription;
281 }
282
283
284 /**
285 * @return the collectionCode
286 */
287 public String getCollectionCode() {
288 return collectionCode;
289 }
290
291
292 /**
293 * @param collectionCode the collectionCode to set
294 */
295 public void setCollectionCode(String collectionCode) {
296 this.collectionCode = collectionCode;
297 }
298
299
300 /**
301 * @return the collectingDate
302 */
303 public String getCollectingDate() {
304 return collectingDate;
305 }
306
307
308 /**
309 * @param collectingDate the collectingDate to set
310 */
311 public void setCollectingDate(String collectingDate) {
312 this.collectingDate = collectingDate;
313 }
314
315
316 /**
317 * @return the collectorsNumber
318 */
319 public String getCollectorsNumber() {
320 return collectorsNumber;
321 }
322
323
324 /**
325 * @param collectorsNumber the collectorsNumber to set
326 */
327 public void setCollectorsNumber(String collectorsNumber) {
328 this.collectorsNumber = collectorsNumber;
329 }
330
331
332 /**
333 * @return the barcode
334 */
335 public String getBarcode() {
336 return barcode;
337 }
338
339
340 /**
341 * @return the collectingDateEnd
342 */
343 public String getCollectingDateEnd() {
344 return collectingDateEnd;
345 }
346
347
348 /**
349 * @param collectingDateEnd the collectingDateEnd to set
350 */
351 public void setCollectingDateEnd(String collectingDateEnd) {
352 this.collectingDateEnd = collectingDateEnd;
353 }
354
355
356 /**
357 * @return the latitude
358 */
359 public String getLatitude() {
360 return latitude;
361 }
362
363
364 /**
365 * @param latitude the latitude to set
366 */
367 public void setLatitude(String latitude) {
368 this.latitude = latitude;
369 }
370
371
372 /**
373 * @return the longitude
374 */
375 public String getLongitude() {
376 return longitude;
377 }
378
379
380 /**
381 * @param longitude the longitude to set
382 */
383 public void setLongitude(String longitude) {
384 this.longitude = longitude;
385 }
386
387
388 public String getSourceId() {
389 return this.sourceId;
390 }
391
392
393 /**
394 * @return the source
395 */
396 public String getSource() {
397 return source;
398 }
399
400
401 /**
402 * @param source the source to set
403 */
404 public void setSource(String source) {
405 this.source = source;
406 }
407
408
409 /**
410 * @param sourceId the sourceId to set
411 */
412 public void setSourceId(String sourceId) {
413 this.sourceId = sourceId;
414 }
415
416
417 public void setSex(String sex) {
418 this.sex = sex;
419 }
420
421
422 public String getSex() {
423 return sex;
424 }
425
426
427 /**
428 * @return the referenceSystem
429 */
430 public String getReferenceSystem() {
431 return referenceSystem;
432 }
433
434
435 /**
436 * @param referenceSystem the referenceSystem to set
437 */
438 public void setReferenceSystem(String referenceSystem) {
439 this.referenceSystem = referenceSystem;
440 }
441
442
443 /**
444 * @return the errorRadius
445 */
446 public String getErrorRadius() {
447 return errorRadius;
448 }
449
450
451 /**
452 * @param errorRadius the errorRadius to set
453 */
454 public void setErrorRadius(String errorRadius) {
455 this.errorRadius = errorRadius;
456 }
457
458
459
460
461
462
463 }