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
.HashSet
;
14 import java
.util
.UUID
;
17 * @author a.babadshanjan
21 public class FaunaEuropaeaDistributionTaxon
{
23 private UUID taxonUuid
;
25 private Set
<FaunaEuropaeaDistribution
> distributions
;
28 * @param distributions
30 public FaunaEuropaeaDistributionTaxon() {
31 this.distributions
= new HashSet
<FaunaEuropaeaDistribution
>();
36 public FaunaEuropaeaDistributionTaxon(UUID taxonUuid
) {
38 this.taxonUuid
= taxonUuid
;
41 * @return the taxonUuid
43 public UUID
getTaxonUuid() {
47 * @param taxonUuid the taxonUuid to set
49 public void setTaxonUuid(UUID taxonUuid
) {
50 this.taxonUuid
= taxonUuid
;
55 public int getTaxonId() {
59 * @param taxonId the taxonId to set
61 public void setTaxonId(int taxonId
) {
62 this.taxonId
= taxonId
;
65 * @return the distributions
67 public Set
<FaunaEuropaeaDistribution
> getDistributions() {
71 * @param distributions the distributions to set
73 public void setDistributions(Set
<FaunaEuropaeaDistribution
> distributions
) {
74 this.distributions
= distributions
;
77 public void addDistribution(FaunaEuropaeaDistribution fauEuDistribution
) {
78 distributions
.add(fauEuDistribution
);