(no commit message)
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / excel / taxa / NormalExplicitRow.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.excel.taxa;
11
12 /**
13 * @author a.babadshanjan
14 * @created 13.01.2009
15 * @version 1.0
16 */
17 public class NormalExplicitRow {
18
19 private int id;
20 private int parentId;
21 private String rank;
22 private String scientificName;
23 private String author;
24 private String nameStatus;
25 private String commonName;
26 private String language;
27 private String reference;
28
29 public NormalExplicitRow() {
30 this.id = 0;
31 this.parentId = 0;
32 this.rank = new String("");
33 this.scientificName = new String("");
34 this.author = new String("");
35 this.nameStatus = new String("");
36 this.commonName = new String("");
37 this.language = new String("");
38 this.reference = new String("");
39 }
40
41 public NormalExplicitRow(String name, int parentId) {
42 this(name, parentId, null);
43 }
44
45 public NormalExplicitRow(String scientificName, int parentId, String reference) {
46 this.parentId = parentId;
47 this.scientificName = scientificName;
48 this.reference = reference;
49 }
50
51 /**
52 * @return the parentId
53 */
54 public int getParentId() {
55 return parentId;
56 }
57 /**
58 * @param parentId the parentId to set
59 */
60 public void setParentId(int parentId) {
61 this.parentId = parentId;
62 }
63 /**
64 * @return the name
65 */
66 public String getScientificName() {
67 return scientificName;
68 }
69 /**
70 * @param name the name to set
71 */
72 public void setScientificName(String scientificName) {
73 this.scientificName = scientificName;
74 }
75 /**
76 * @return the reference
77 */
78 public String getReference() {
79 return reference;
80 }
81 /**
82 * @param reference the reference to set
83 */
84 public void setReference(String reference) {
85 this.reference = reference;
86 }
87
88 /**
89 * @return the id
90 */
91 public int getId() {
92 return id;
93 }
94
95 /**
96 * @param id the id to set
97 */
98 public void setId(int id) {
99 this.id = id;
100 }
101
102 /**
103 * @return the rank
104 */
105 public String getRank() {
106 return rank;
107 }
108
109 /**
110 * @param rank the rank to set
111 */
112 public void setRank(String rank) {
113 this.rank = rank;
114 }
115
116 /**
117 * @return the author
118 */
119 public String getAuthor() {
120 return author;
121 }
122
123 /**
124 * @param author the author to set
125 */
126 public void setAuthor(String author) {
127 this.author = author;
128 }
129
130 /**
131 * @return the nameStatus
132 */
133 public String getNameStatus() {
134 return nameStatus;
135 }
136
137 /**
138 * @param nameStatus the nameStatus to set
139 */
140 public void setNameStatus(String nameStatus) {
141 this.nameStatus = nameStatus;
142 }
143
144 /**
145 * @return the commonName
146 */
147 public String getCommonName() {
148 return commonName;
149 }
150
151 /**
152 * @param commonName the commonName to set
153 */
154 public void setCommonName(String commonName) {
155 this.commonName = commonName;
156 }
157
158 /**
159 * @return the language
160 */
161 public String getLanguage() {
162 return language;
163 }
164
165 /**
166 * @param language the language to set
167 */
168 public void setLanguage(String language) {
169 this.language = language;
170 }
171
172
173 }