2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.io
.specimen
.excel
.in
;
12 import java
.util
.HashMap
;
13 import java
.util
.List
;
15 import java
.util
.UUID
;
17 import org
.apache
.log4j
.Logger
;
24 public class SpecimenRow
{
25 @SuppressWarnings("unused")
26 private static final Logger logger
= Logger
.getLogger(SpecimenRow
.class);
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
;
43 private String specificEpithet
;
44 private String collector
;
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
;
58 // private Map<String, List<String>> commonNames = new HashMap<String, List<String>>();
63 public SpecimenRow() {
65 // commonNames = new HashMap<String, List<String>>();
69 // **************************** GETTER / SETTER *********************************/
72 public void setUuid(UUID uuid
) {
77 public UUID
getUuid() {
82 public void setBasisOfRecord(String basisOfRecord
) {
83 this.basisOfRecord
= basisOfRecord
;
87 public String
getBasisOfRecord() {
92 public void setCountry(String country
) {
93 this.country
= country
;
97 public String
getCountry() {
102 public void setIsoCountry(String isoCountry
) {
103 this.isoCountry
= isoCountry
;
107 public String
getIsoCountry() {
112 public void setLocality(String locality
) {
113 this.locality
= locality
;
117 public String
getLocality() {
122 public void setFieldNotes(String fieldNotes
) {
123 this.fieldNotes
= fieldNotes
;
127 public String
getFieldNotes() {
132 public void setAccessionNumber(String accessionNumber
) {
133 this.accessionNumber
= accessionNumber
;
137 public String
getAccessionNumber() {
138 return accessionNumber
;
142 public void setFieldNumber(String fieldNumber
) {
143 this.fieldNumber
= fieldNumber
;
147 public String
getFieldNumber() {
152 public void setBarcode(String barcode
) {
153 this.barcode
= barcode
;
159 public String
getAuthor() {
165 * @param author the author to set
167 public void setAuthor(String author
) {
168 this.author
= author
;
173 * @return the absoluteElevation
175 public String
getAbsoluteElevation() {
176 return absoluteElevation
;
181 * @param absoluteElevation the absoluteElevation to set
183 public void setAbsoluteElevation(String absoluteElevation
) {
184 this.absoluteElevation
= absoluteElevation
;
191 public String
getFamily() {
197 * @param family the family to set
199 public void setFamily(String family
) {
200 this.family
= family
;
207 public String
getGenus() {
213 * @param genus the genus to set
215 public void setGenus(String genus
) {
221 * @return the specificEpithet
223 public String
getSpecificEpithet() {
224 return specificEpithet
;
229 * @param specificEpithet the specificEpithet to set
231 public void setSpecificEpithet(String specificEpithet
) {
232 this.specificEpithet
= specificEpithet
;
237 * @return the collector
239 public String
getCollector() {
245 * @param collector the collector to set
247 public void setCollector(String collector
) {
248 this.collector
= collector
;
253 * @return the ecology
255 public String
getEcology() {
261 * @param ecology the ecology to set
263 public void setEcology(String ecology
) {
264 this.ecology
= ecology
;
269 * @return the plantDescription
271 public String
getPlantDescription() {
272 return plantDescription
;
277 * @param plantDescription the plantDescription to set
279 public void setPlantDescription(String plantDescription
) {
280 this.plantDescription
= plantDescription
;
285 * @return the collectionCode
287 public String
getCollectionCode() {
288 return collectionCode
;
293 * @param collectionCode the collectionCode to set
295 public void setCollectionCode(String collectionCode
) {
296 this.collectionCode
= collectionCode
;
301 * @return the collectingDate
303 public String
getCollectingDate() {
304 return collectingDate
;
309 * @param collectingDate the collectingDate to set
311 public void setCollectingDate(String collectingDate
) {
312 this.collectingDate
= collectingDate
;
317 * @return the collectorsNumber
319 public String
getCollectorsNumber() {
320 return collectorsNumber
;
325 * @param collectorsNumber the collectorsNumber to set
327 public void setCollectorsNumber(String collectorsNumber
) {
328 this.collectorsNumber
= collectorsNumber
;
333 * @return the barcode
335 public String
getBarcode() {
341 * @return the collectingDateEnd
343 public String
getCollectingDateEnd() {
344 return collectingDateEnd
;
349 * @param collectingDateEnd the collectingDateEnd to set
351 public void setCollectingDateEnd(String collectingDateEnd
) {
352 this.collectingDateEnd
= collectingDateEnd
;
357 * @return the latitude
359 public String
getLatitude() {
365 * @param latitude the latitude to set
367 public void setLatitude(String latitude
) {
368 this.latitude
= latitude
;
373 * @return the longitude
375 public String
getLongitude() {
381 * @param longitude the longitude to set
383 public void setLongitude(String longitude
) {
384 this.longitude
= longitude
;
388 public String
getSourceId() {
389 return this.sourceId
;
396 public String
getSource() {
402 * @param source the source to set
404 public void setSource(String source
) {
405 this.source
= source
;
410 * @param sourceId the sourceId to set
412 public void setSourceId(String sourceId
) {
413 this.sourceId
= sourceId
;
417 public void setSex(String sex
) {
422 public String
getSex() {
428 * @return the referenceSystem
430 public String
getReferenceSystem() {
431 return referenceSystem
;
436 * @param referenceSystem the referenceSystem to set
438 public void setReferenceSystem(String referenceSystem
) {
439 this.referenceSystem
= referenceSystem
;
444 * @return the errorRadius
446 public String
getErrorRadius() {
452 * @param errorRadius the errorRadius to set
454 public void setErrorRadius(String errorRadius
) {
455 this.errorRadius
= errorRadius
;