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 nameUuid;
25 private int originalGenusId
;
27 private String localName
;
28 private String originalGenusName
= "";
30 // private int authorId;
31 private String authorName
;
32 private boolean parenthesis
= false;
33 private boolean valid
= false;
36 * @return the authorName
38 public String
getAuthorName() {
43 * @param authorName the authorName to set
45 public void setAuthorName(String authorName
) {
46 this.authorName
= authorName
;
50 * @return the parenthesis
52 public boolean isParenthesis() {
57 * @param parenthesis the parenthesis to set
59 public void setParenthesis(boolean parenthesis
) {
60 this.parenthesis
= parenthesis
;
63 public FaunaEuropaeaTaxon() {
69 public FaunaEuropaeaTaxon(String name
, int parentId
) {
70 this(name
, parentId
, null);
73 public FaunaEuropaeaTaxon(String scientificName
, int parentId
, String reference
) {
74 this.parentId
= parentId
;
75 this.localName
= scientificName
;
79 * @return the parentId
81 public int getParentId() {
85 * @param parentId the parentId to set
87 public void setParentId(int parentId
) {
88 this.parentId
= parentId
;
93 public String
getLocalName() {
97 * @param name the name to set
99 public void setLocalName(String scientificName
) {
100 this.localName
= scientificName
;
111 * @param id the id to set
113 public void setId(int id
) {
120 public int getRankId() {
125 * @param rankId the rankId to set
127 public void setRankId(int rankId
) {
128 this.rankId
= rankId
;
134 public UUID
getUuid() {
139 * @param uuid the uuid to set
141 public void setUuid(UUID uuid
) {
146 // * @return the nameUuid
148 // public UUID getNameUuid() {
153 // * @param nameUuid the nameUuid to set
155 // public void setNameUuid(UUID nameUuid) {
156 // this.nameUuid = nameUuid;
162 public int getYear() {
167 * @param year the year to set
169 public void setYear(int year
) {
176 public String
getAuthor() {
181 * @param author the author to set
183 public void setAuthor(String author
) {
184 this.authorName
= author
;
190 public boolean isValid() {
195 * @param valid the valid to set
197 public void setValid(boolean valid
) {
202 * @return the originalGenusId
204 public int getOriginalGenusId() {
205 return originalGenusId
;
209 * @param originalGenusId the originalGenusId to set
211 public void setOriginalGenusId(int originalGenusId
) {
212 this.originalGenusId
= originalGenusId
;
216 * @return the originalGenusName
218 public String
getOriginalGenusName() {
219 return originalGenusName
;
223 * @param originalGenusName the originalGenusName to set
225 public void setOriginalGenusName(String originalGenusName
) {
226 this.originalGenusName
= originalGenusName
;
230 // * @return the authorId
232 // public int getAuthorId() {
237 // * @param authorId the authorId to set
239 // public void setAuthorId(int authorId) {
240 // this.authorId = authorId;