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
.cyprus
;
12 import java
.util
.TreeMap
;
14 import org
.apache
.log4j
.Logger
;
17 * @author a.babadshanjan
21 public class CyprusDistributionRow
{
22 @SuppressWarnings("unused")
23 private static final Logger logger
= Logger
.getLogger(CyprusDistributionRow
.class);
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
;
34 private String family
;
35 private String division
;
38 private TreeMap
<Integer
, String
> distributions
= new TreeMap
<Integer
, String
>();
42 public CyprusDistributionRow() {
45 this.homotypicSynonyms
= "";
46 this.heterotypicSynonyms
= "";
49 this.setRedDataBookCategory("");
50 this.systematics
= "";
56 // public CyprusRow(String name, int parentId) {
57 // this(name, parentId, null);
60 // public CyprusRow(String scientificName, int parentId, String reference) {
61 // this.parentId = parentId;
62 // this.scientificName = scientificName;
63 // this.reference = reference;
66 // **************************** GETTER / SETTER *********************************/
70 public void putDistribution(int key
, String distribution
){
71 this.distributions
.put(key
, distribution
);
74 public String
getSpecies() {
78 public void setSpecies(String species
) {
79 this.species
= species
;
82 public String
getSubspecies() {
86 public void setSubspecies(String subspecies
) {
87 this.subspecies
= subspecies
;
90 public String
getHomotypicSynonyms() {
91 return homotypicSynonyms
;
94 public void setHomotypicSynonyms(String homotypicSynonyms
) {
95 this.homotypicSynonyms
= homotypicSynonyms
;
98 public String
getHeterotypicSynonyms() {
99 return heterotypicSynonyms
;
102 public void setHeterotypicSynonyms(String heterotypicSynonyms
) {
103 this.heterotypicSynonyms
= heterotypicSynonyms
;
106 public String
getEndemism() {
110 public void setEndemism(String endemism
) {
111 this.endemism
= endemism
;
114 public String
getStatus() {
118 public void setStatus(String status
) {
119 this.status
= status
;
122 public String
getSystematics() {
126 public void setSystematics(String systematics
) {
127 this.systematics
= systematics
;
130 public String
getGenus() {
134 public void setGenus(String genus
) {
138 public String
getFamily() {
142 public void setFamily(String family
) {
143 this.family
= family
;
146 public String
getDivision() {
150 public void setDivision(String division
) {
151 this.division
= division
;
155 public void setRedDataBookCategory(String redDataBookCategory
) {
156 this.redDataBookCategory
= redDataBookCategory
;
159 public String
getRedDataBookCategory() {
160 return redDataBookCategory
;