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
.faunaEuropaea
;
12 import java
.util
.UUID
;
15 * @author a.babadshanjan
19 public class FaunaEuropaeaTaxon
{
22 private UUID parentUuid
;
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
;
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;
47 * @return the authorName
49 public String
getAuthorName() {
54 * @param authorName the authorName to set
56 public void setAuthorName(String authorName
) {
57 this.authorName
= authorName
;
61 * @return the parenthesis
63 public boolean isParenthesis() {
68 * @param parenthesis the parenthesis to set
70 public void setParenthesis(boolean parenthesis
) {
71 this.parenthesis
= parenthesis
;
74 public FaunaEuropaeaTaxon() {
77 this.grandParentName
= "";
78 this.greatGrandParentName
= "";
79 this.originalGenusName
= "";
83 // public FaunaEuropaeaTaxon(String name, int parentId) {
84 // this(name, parentId, null);
87 // public FaunaEuropaeaTaxon(String scientificName, int parentId, String reference) {
88 // this.parentId = parentId;
89 // this.localName = scientificName;
93 * @return the parentId
95 public int getParentId() {
99 * @param parentId the parentId to set
101 public void setParentId(int parentId
) {
102 this.parentId
= parentId
;
108 public String
getLocalName() {
112 * @param name the name to set
114 public void setLocalName(String scientificName
) {
115 this.localName
= scientificName
;
126 * @param id the id to set
128 public void setId(int id
) {
135 public int getRankId() {
140 * @param rankId the rankId to set
142 public void setRankId(int rankId
) {
143 this.rankId
= rankId
;
149 public UUID
getUuid() {
154 * @param uuid the uuid to set
156 public void setUuid(UUID uuid
) {
161 // * @return the nameUuid
163 // public UUID getNameUuid() {
168 // * @param nameUuid the nameUuid to set
170 // public void setNameUuid(UUID nameUuid) {
171 // this.nameUuid = nameUuid;
177 public int getYear() {
182 * @param year the year to set
184 public void setYear(int year
) {
191 public String
getAuthor() {
196 * @param author the author to set
198 public void setAuthor(String author
) {
199 this.authorName
= author
;
205 public boolean isValid() {
210 * @param valid the valid to set
212 public void setValid(boolean valid
) {
217 * @return the originalGenusId
219 public int getOriginalGenusId() {
220 return originalGenusId
;
224 * @param originalGenusId the originalGenusId to set
226 public void setOriginalGenusId(int originalGenusId
) {
227 this.originalGenusId
= originalGenusId
;
231 * @return the originalGenusName
233 public String
getOriginalGenusName() {
234 return originalGenusName
;
238 * @param originalGenusName the originalGenusName to set
240 public void setOriginalGenusName(String originalGenusName
) {
241 this.originalGenusName
= originalGenusName
;
245 * @return the parentName
247 public String
getParentName() {
252 * @param parentName the parentName to set
254 public void setParentName(String parentName
) {
255 this.parentName
= parentName
;
259 * @return the grandParentName
261 public String
getGrandParentName() {
262 return grandParentName
;
266 * @param grandParentName the grandParentName to set
268 public void setGrandParentName(String grandParentName
) {
269 this.grandParentName
= grandParentName
;
273 * @return the greatGrandParentName
275 public String
getGreatGrandParentName() {
276 return greatGrandParentName
;
280 * @param greatGrandParentName the greatGrandParentName to set
282 public void setGreatGrandParentName(String greatGrandParentName
) {
283 this.greatGrandParentName
= greatGrandParentName
;
287 * @return the parentRankId
289 public int getParentRankId() {
294 * @param parentRankId the parentRankId to set
296 public void setParentRankId(int parentRankId
) {
297 this.parentRankId
= parentRankId
;
301 * @return the grandParentRankId
303 public int getGrandParentRankId() {
304 return grandParentRankId
;
308 * @param grandParentRankId the grandParentRankId to set
310 public void setGrandParentRankId(int grandParentRankId
) {
311 this.grandParentRankId
= grandParentRankId
;
315 * @return the greatGrandParentRankId
317 public int getGreatGrandParentRankId() {
318 return greatGrandParentRankId
;
322 * @param greatGrandParentRankId the greatGrandParentRankId to set
324 public void setGreatGrandParentRankId(int greatGrandParentRankId
) {
325 this.greatGrandParentRankId
= greatGrandParentRankId
;
329 * @return the greatGreatGrandParentName
331 public String
getGreatGreatGrandParentName() {
332 return greatGreatGrandParentName
;
336 * @param greatGreatGrandParentName the greatGreatGrandParentName to set
338 public void setGreatGreatGrandParentName(String greatGreatGrandParentName
) {
339 this.greatGreatGrandParentName
= greatGreatGrandParentName
;
343 * @return the grandParentId
345 public int getGrandParentId() {
346 return grandParentId
;
350 * @param grandParentId the grandParentId to set
352 public void setGrandParentId(int grandParentId
) {
353 this.grandParentId
= grandParentId
;
357 * @return the greatGrandParentId
359 public int getGreatGrandParentId() {
360 return greatGrandParentId
;
364 * @param greatGrandParentId the greatGrandParentId to set
366 public void setGreatGrandParentId(int greatGrandParentId
) {
367 this.greatGrandParentId
= greatGrandParentId
;
371 * @return the greatGreatGrandParentId
373 public int getGreatGreatGrandParentId() {
374 return greatGreatGrandParentId
;
378 * @param greatGreatGrandParentId the greatGreatGrandParentId to set
380 public void setGreatGreatGrandParentId(int greatGreatGrandParentId
) {
381 this.greatGreatGrandParentId
= greatGreatGrandParentId
;
385 * @return the parentUuid
387 public UUID
getParentUuid() {
392 * @param parentUuid the parentUuid to set
394 public void setParentUuid(UUID parentUuid
) {
395 this.parentUuid
= parentUuid
;
399 // * @return the authorId
401 // public int getAuthorId() {
406 // * @param authorId the authorId to set
408 // public void setAuthorId(int authorId) {
409 // this.authorId = authorId;