(no commit message)
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / faunaEuropaea / FaunaEuropaeaTaxon.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.faunaEuropaea;
11
12 import java.util.UUID;
13
14 /**
15 * @author a.babadshanjan
16 * @created 26.05.2009
17 * @version 1.0
18 */
19 public class FaunaEuropaeaTaxon {
20
21 private UUID uuid;
22 private UUID parentUuid;
23 private int id;
24 private int rankId;
25 private int parentId;
26 private int parentRankId;
27 private int grandParentId;
28 private int grandParentRankId;
29 private int greatGrandParentId;
30 private int greatGrandParentRankId;
31 private int greatGreatGrandParentId;
32 private int originalGenusId;
33 private int year;
34 private String localName;
35 private String parentName;
36 private String grandParentName;
37 private String greatGrandParentName;
38 private String greatGreatGrandParentName;
39 private String originalGenusName;
40 private String authorName;
41 private boolean parenthesis = false;
42 private boolean valid = false;
43 // private int authorId;
44 // private UUID nameUuid;
45
46 /**
47 * @return the authorName
48 */
49 public String getAuthorName() {
50 return authorName;
51 }
52
53 /**
54 * @param authorName the authorName to set
55 */
56 public void setAuthorName(String authorName) {
57 this.authorName = authorName;
58 }
59
60 /**
61 * @return the parenthesis
62 */
63 public boolean isParenthesis() {
64 return parenthesis;
65 }
66
67 /**
68 * @param parenthesis the parenthesis to set
69 */
70 public void setParenthesis(boolean parenthesis) {
71 this.parenthesis = parenthesis;
72 }
73
74 public FaunaEuropaeaTaxon() {
75 this.localName = "";
76 this.parentName = "";
77 this.grandParentName = "";
78 this.greatGrandParentName = "";
79 this.originalGenusName = "";
80 this.authorName = "";
81 }
82
83 // public FaunaEuropaeaTaxon(String name, int parentId) {
84 // this(name, parentId, null);
85 // }
86
87 // public FaunaEuropaeaTaxon(String scientificName, int parentId, String reference) {
88 // this.parentId = parentId;
89 // this.localName = scientificName;
90 // }
91
92 /**
93 * @return the parentId
94 */
95 public int getParentId() {
96 return parentId;
97 }
98 /**
99 * @param parentId the parentId to set
100 */
101 public void setParentId(int parentId) {
102 this.parentId = parentId;
103 }
104
105 /**
106 * @return the name
107 */
108 public String getLocalName() {
109 return localName;
110 }
111 /**
112 * @param name the name to set
113 */
114 public void setLocalName(String scientificName) {
115 this.localName = scientificName;
116 }
117
118 /**
119 * @return the id
120 */
121 public int getId() {
122 return id;
123 }
124
125 /**
126 * @param id the id to set
127 */
128 public void setId(int id) {
129 this.id = id;
130 }
131
132 /**
133 * @return the rankId
134 */
135 public int getRankId() {
136 return rankId;
137 }
138
139 /**
140 * @param rankId the rankId to set
141 */
142 public void setRankId(int rankId) {
143 this.rankId = rankId;
144 }
145
146 /**
147 * @return the uuid
148 */
149 public UUID getUuid() {
150 return uuid;
151 }
152
153 /**
154 * @param uuid the uuid to set
155 */
156 public void setUuid(UUID uuid) {
157 this.uuid = uuid;
158 }
159
160 // /**
161 // * @return the nameUuid
162 // */
163 // public UUID getNameUuid() {
164 // return nameUuid;
165 // }
166 //
167 // /**
168 // * @param nameUuid the nameUuid to set
169 // */
170 // public void setNameUuid(UUID nameUuid) {
171 // this.nameUuid = nameUuid;
172 // }
173
174 /**
175 * @return the year
176 */
177 public int getYear() {
178 return year;
179 }
180
181 /**
182 * @param year the year to set
183 */
184 public void setYear(int year) {
185 this.year = year;
186 }
187
188 /**
189 * @return the author
190 */
191 public String getAuthor() {
192 return authorName;
193 }
194
195 /**
196 * @param author the author to set
197 */
198 public void setAuthor(String author) {
199 this.authorName = author;
200 }
201
202 /**
203 * @return the valid
204 */
205 public boolean isValid() {
206 return valid;
207 }
208
209 /**
210 * @param valid the valid to set
211 */
212 public void setValid(boolean valid) {
213 this.valid = valid;
214 }
215
216 /**
217 * @return the originalGenusId
218 */
219 public int getOriginalGenusId() {
220 return originalGenusId;
221 }
222
223 /**
224 * @param originalGenusId the originalGenusId to set
225 */
226 public void setOriginalGenusId(int originalGenusId) {
227 this.originalGenusId = originalGenusId;
228 }
229
230 /**
231 * @return the originalGenusName
232 */
233 public String getOriginalGenusName() {
234 return originalGenusName;
235 }
236
237 /**
238 * @param originalGenusName the originalGenusName to set
239 */
240 public void setOriginalGenusName(String originalGenusName) {
241 this.originalGenusName = originalGenusName;
242 }
243
244 /**
245 * @return the parentName
246 */
247 public String getParentName() {
248 return parentName;
249 }
250
251 /**
252 * @param parentName the parentName to set
253 */
254 public void setParentName(String parentName) {
255 this.parentName = parentName;
256 }
257
258 /**
259 * @return the grandParentName
260 */
261 public String getGrandParentName() {
262 return grandParentName;
263 }
264
265 /**
266 * @param grandParentName the grandParentName to set
267 */
268 public void setGrandParentName(String grandParentName) {
269 this.grandParentName = grandParentName;
270 }
271
272 /**
273 * @return the greatGrandParentName
274 */
275 public String getGreatGrandParentName() {
276 return greatGrandParentName;
277 }
278
279 /**
280 * @param greatGrandParentName the greatGrandParentName to set
281 */
282 public void setGreatGrandParentName(String greatGrandParentName) {
283 this.greatGrandParentName = greatGrandParentName;
284 }
285
286 /**
287 * @return the parentRankId
288 */
289 public int getParentRankId() {
290 return parentRankId;
291 }
292
293 /**
294 * @param parentRankId the parentRankId to set
295 */
296 public void setParentRankId(int parentRankId) {
297 this.parentRankId = parentRankId;
298 }
299
300 /**
301 * @return the grandParentRankId
302 */
303 public int getGrandParentRankId() {
304 return grandParentRankId;
305 }
306
307 /**
308 * @param grandParentRankId the grandParentRankId to set
309 */
310 public void setGrandParentRankId(int grandParentRankId) {
311 this.grandParentRankId = grandParentRankId;
312 }
313
314 /**
315 * @return the greatGrandParentRankId
316 */
317 public int getGreatGrandParentRankId() {
318 return greatGrandParentRankId;
319 }
320
321 /**
322 * @param greatGrandParentRankId the greatGrandParentRankId to set
323 */
324 public void setGreatGrandParentRankId(int greatGrandParentRankId) {
325 this.greatGrandParentRankId = greatGrandParentRankId;
326 }
327
328 /**
329 * @return the greatGreatGrandParentName
330 */
331 public String getGreatGreatGrandParentName() {
332 return greatGreatGrandParentName;
333 }
334
335 /**
336 * @param greatGreatGrandParentName the greatGreatGrandParentName to set
337 */
338 public void setGreatGreatGrandParentName(String greatGreatGrandParentName) {
339 this.greatGreatGrandParentName = greatGreatGrandParentName;
340 }
341
342 /**
343 * @return the grandParentId
344 */
345 public int getGrandParentId() {
346 return grandParentId;
347 }
348
349 /**
350 * @param grandParentId the grandParentId to set
351 */
352 public void setGrandParentId(int grandParentId) {
353 this.grandParentId = grandParentId;
354 }
355
356 /**
357 * @return the greatGrandParentId
358 */
359 public int getGreatGrandParentId() {
360 return greatGrandParentId;
361 }
362
363 /**
364 * @param greatGrandParentId the greatGrandParentId to set
365 */
366 public void setGreatGrandParentId(int greatGrandParentId) {
367 this.greatGrandParentId = greatGrandParentId;
368 }
369
370 /**
371 * @return the greatGreatGrandParentId
372 */
373 public int getGreatGreatGrandParentId() {
374 return greatGreatGrandParentId;
375 }
376
377 /**
378 * @param greatGreatGrandParentId the greatGreatGrandParentId to set
379 */
380 public void setGreatGreatGrandParentId(int greatGreatGrandParentId) {
381 this.greatGreatGrandParentId = greatGreatGrandParentId;
382 }
383
384 /**
385 * @return the parentUuid
386 */
387 public UUID getParentUuid() {
388 return parentUuid;
389 }
390
391 /**
392 * @param parentUuid the parentUuid to set
393 */
394 public void setParentUuid(UUID parentUuid) {
395 this.parentUuid = parentUuid;
396 }
397
398 // /**
399 // * @return the authorId
400 // */
401 // public int getAuthorId() {
402 // return authorId;
403 // }
404 //
405 // /**
406 // * @param authorId the authorId to set
407 // */
408 // public void setAuthorId(int authorId) {
409 // this.authorId = authorId;
410 // }
411
412 }