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 CyprusDistributionRow {
|
22
|
@SuppressWarnings("unused")
|
23
|
private static final Logger logger = Logger.getLogger(CyprusDistributionRow.class);
|
24
|
|
25
|
private String species;
|
26
|
private String distribution;
|
27
|
private String reference;
|
28
|
|
29
|
//Sets
|
30
|
private TreeMap<Integer, String> distributions = new TreeMap<Integer, String>();
|
31
|
|
32
|
|
33
|
|
34
|
public CyprusDistributionRow() {
|
35
|
this.species = "";
|
36
|
this.setDistribution("");
|
37
|
this.setReference("");
|
38
|
}
|
39
|
|
40
|
|
41
|
// **************************** GETTER / SETTER *********************************/
|
42
|
|
43
|
|
44
|
|
45
|
public void putDistribution(int key, String distribution){
|
46
|
this.distributions.put(key, distribution);
|
47
|
}
|
48
|
|
49
|
public String getSpecies() {
|
50
|
return species;
|
51
|
}
|
52
|
|
53
|
public void setSpecies(String species) {
|
54
|
this.species = species;
|
55
|
}
|
56
|
|
57
|
|
58
|
public void setDistribution(String distribution) {
|
59
|
this.distribution = distribution;
|
60
|
}
|
61
|
|
62
|
|
63
|
public String getDistribution() {
|
64
|
return distribution;
|
65
|
}
|
66
|
|
67
|
|
68
|
public void setReference(String reference) {
|
69
|
this.reference = reference;
|
70
|
}
|
71
|
|
72
|
|
73
|
public String getReference() {
|
74
|
return reference;
|
75
|
}
|
76
|
|
77
|
|
78
|
}
|