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
;
15 * @author a.babadshanjan
19 public class CyprusRow
{
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
;
30 private String family
;
31 private String division
;
34 private TreeMap
<Integer
, String
> distributions
= new TreeMap
<Integer
, String
>();
41 this.homotypicSynonyms
= "";
42 this.heterotypicSynonyms
= "";
45 this.setRedDataBookCategory("");
46 this.systematics
= "";
52 // public CyprusRow(String name, int parentId) {
53 // this(name, parentId, null);
56 // public CyprusRow(String scientificName, int parentId, String reference) {
57 // this.parentId = parentId;
58 // this.scientificName = scientificName;
59 // this.reference = reference;
62 // **************************** GETTER / SETTER *********************************/
66 public void putDistribution(int key
, String distribution
){
67 this.distributions
.put(key
, distribution
);
70 public String
getSpecies() {
74 public void setSpecies(String species
) {
75 this.species
= species
;
78 public String
getSubspecies() {
82 public void setSubspecies(String subspecies
) {
83 this.subspecies
= subspecies
;
86 public String
getHomotypicSynonyms() {
87 return homotypicSynonyms
;
90 public void setHomotypicSynonyms(String homotypicSynonyms
) {
91 this.homotypicSynonyms
= homotypicSynonyms
;
94 public String
getHeterotypicSynonyms() {
95 return heterotypicSynonyms
;
98 public void setHeterotypicSynonyms(String heterotypicSynonyms
) {
99 this.heterotypicSynonyms
= heterotypicSynonyms
;
102 public String
getEndemism() {
106 public void setEndemism(String endemism
) {
107 this.endemism
= endemism
;
110 public String
getStatus() {
114 public void setStatus(String status
) {
115 this.status
= status
;
118 public String
getSystematics() {
122 public void setSystematics(String systematics
) {
123 this.systematics
= systematics
;
126 public String
getGenus() {
130 public void setGenus(String genus
) {
134 public String
getFamily() {
138 public void setFamily(String family
) {
139 this.family
= family
;
142 public String
getDivision() {
146 public void setDivision(String division
) {
147 this.division
= division
;
151 public void setRedDataBookCategory(String redDataBookCategory
) {
152 this.redDataBookCategory
= redDataBookCategory
;
155 public String
getRedDataBookCategory() {
156 return redDataBookCategory
;