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
.pesi
.faunaEuropaea
;
12 import java
.util
.HashSet
;
14 import java
.util
.UUID
;
17 * @author a.babadshanjan
21 public class FaunaEuropaeaReferenceTaxon
{
23 private UUID taxonUuid
;
25 private Set
<FaunaEuropaeaReference
> references
;
30 public FaunaEuropaeaReferenceTaxon() {
31 this.references
= new HashSet
<FaunaEuropaeaReference
>();
36 public FaunaEuropaeaReferenceTaxon(UUID taxonUuid
) {
38 this.taxonUuid
= taxonUuid
;
44 public FaunaEuropaeaReferenceTaxon(Integer taxonId
) {
46 this.taxonId
= taxonId
;
50 * @return the taxonUuid
52 public UUID
getTaxonUuid() {
56 * @param taxonUuid the taxonUuid to set
58 public void setTaxonUuid(UUID taxonUuid
) {
59 this.taxonUuid
= taxonUuid
;
62 * @param taxonUuid the taxonId to set
64 public void setTaxonId(Integer taxonId
) {
65 this.taxonId
= taxonId
;
69 * @return the distributions
71 public Set
<FaunaEuropaeaReference
> getReferences() {
75 * @param distributions the distributions to set
77 public void setReferences(Set
<FaunaEuropaeaReference
> references
) {
78 this.references
= references
;
81 public void addReference(FaunaEuropaeaReference fauEuReference
) {
82 references
.add(fauEuReference
);