Project

General

Profile

Download (1.5 KB) Statistics
| Branch: | Tag: | 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.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 13.09.2009
19
 * @version 1.0
20
 */
21
public class FaunaEuropaeaReferenceTaxon {
22
	
23
	private UUID taxonUuid;
24
//	private int taxonId;
25
	private Set<FaunaEuropaeaReference> references;	
26
	
27
	/**
28
	 * @param references
29
	 */
30
	public FaunaEuropaeaReferenceTaxon() {
31
		this.references = new HashSet<FaunaEuropaeaReference>();
32
	}
33
	/**
34
	 * @param taxonUuid
35
	 */
36
	public FaunaEuropaeaReferenceTaxon(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 distributions
54
	 */
55
	public Set<FaunaEuropaeaReference> getReferences() {
56
		return references;
57
	}
58
	/**
59
	 * @param distributions the distributions to set
60
	 */
61
	public void setReferences(Set<FaunaEuropaeaReference> references) {
62
		this.references = references;
63
	}
64
	
65
	public void addReference(FaunaEuropaeaReference fauEuReference) {
66
		references.add(fauEuReference);
67
	}
68
}
(10-10/15)