Project

General

Profile

Download (1.82 KB) Statistics
| Branch: | Revision:
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.pesi.faunaEuropaea;
11

    
12
import java.util.HashSet;
13
import java.util.Set;
14
import java.util.UUID;
15

    
16
/**
17
 * @author a.babadshanjan
18
 * @created 10.09.2009
19
 * @version 1.0
20
 */
21
public class FaunaEuropaeaDistributionTaxon {
22
	
23
	private UUID taxonUuid;
24
	private int taxonId;
25
	private Set<FaunaEuropaeaDistribution> distributions;	
26
	
27
	/**
28
	 * @param distributions
29
	 */
30
	public FaunaEuropaeaDistributionTaxon() {
31
		this.distributions = new HashSet<FaunaEuropaeaDistribution>();
32
	}
33
	/**
34
	 * @param taxonUuid
35
	 */
36
	public FaunaEuropaeaDistributionTaxon(UUID taxonUuid) {
37
		this();
38
		this.taxonUuid = taxonUuid;
39
	}
40
//	/**
41
//	 * @return the taxonUuid
42
//	 */
43
//	public UUID getTaxonUuid() {
44
//		return taxonUuid;
45
//	}
46
//	/**
47
//	 * @param taxonUuid the taxonUuid to set
48
//	 */
49
//	public void setTaxonUuid(UUID taxonUuid) {
50
//		this.taxonUuid = taxonUuid;
51
//	}
52
//	/**
53
//	 * @return the taxonId
54
//	 */
55
//	public int getTaxonId() {
56
//		return taxonId;
57
//	}
58
//	/**
59
//	 * @param taxonId the taxonId to set
60
//	 */
61
//	public void setTaxonId(int taxonId) {
62
//		this.taxonId = taxonId;
63
//	}
64
	/**
65
	 * @return the distributions
66
	 */
67
	public Set<FaunaEuropaeaDistribution> getDistributions() {
68
		return distributions;
69
	}
70
	/**
71
	 * @param distributions the distributions to set
72
	 */
73
	public void setDistributions(Set<FaunaEuropaeaDistribution> distributions) {
74
		this.distributions = distributions;
75
	}
76
	
77
	public void addDistribution(FaunaEuropaeaDistribution fauEuDistribution) {
78
		distributions.add(fauEuDistribution);
79
	}
80
}
(5-5/20)