1
|
/**
|
2
|
* Copyright (C) 2014 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
|
package eu.etaxonomy.cdm.api.service.dto;
|
10
|
|
11
|
import java.util.Set;
|
12
|
|
13
|
import eu.etaxonomy.cdm.api.util.DistributionTree;
|
14
|
import eu.etaxonomy.cdm.model.description.Distribution;
|
15
|
|
16
|
/**
|
17
|
* @author a.kohlbecker
|
18
|
* @since Jan 29, 2014
|
19
|
*/
|
20
|
public class DistributionInfoDTO {
|
21
|
|
22
|
private CondensedDistribution condensedDistribution = null;
|
23
|
private DistributionTree tree = null;
|
24
|
private String mapUriParams = null;
|
25
|
private Set<Distribution> elements = null;
|
26
|
|
27
|
|
28
|
public CondensedDistribution getCondensedDistribution() {
|
29
|
return condensedDistribution;
|
30
|
}
|
31
|
public void setCondensedDistribution(CondensedDistribution condensedDistribution) {
|
32
|
this.condensedDistribution = condensedDistribution;
|
33
|
}
|
34
|
|
35
|
public DistributionTree getTree() {
|
36
|
return tree;
|
37
|
}
|
38
|
public void setTree(DistributionTree tree) {
|
39
|
this.tree = tree;
|
40
|
}
|
41
|
|
42
|
public String getMapUriParams() {
|
43
|
return mapUriParams;
|
44
|
}
|
45
|
public void setMapUriParams(String mapUriParams) {
|
46
|
this.mapUriParams = mapUriParams;
|
47
|
}
|
48
|
|
49
|
public Set<Distribution> getElements() {
|
50
|
return elements;
|
51
|
} public void setElements(Set<Distribution> elements) {
|
52
|
this.elements = elements;
|
53
|
}
|
54
|
|
55
|
public enum InfoPart{
|
56
|
condensedDistribution,
|
57
|
tree,
|
58
|
mapUriParams,
|
59
|
elements,
|
60
|
}
|
61
|
}
|