cleanup
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / dto / DistributionInfoDTO.java
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.utility.DistributionTree;
14 import eu.etaxonomy.cdm.model.description.Distribution;
15
16 /**
17 * @author a.kohlbecker
18 * @since Jan 29, 2014
19 *
20 */
21 public class DistributionInfoDTO {
22
23
24 private CondensedDistribution condensedDistribution = null;
25 private DistributionTree tree = null;
26 private String mapUriParams = null;
27 private Set<Distribution> elements = null;
28
29
30 /**
31 * @param condensedDistribution the condensedDistribution to set
32 */
33 public void setCondensedDistribution(CondensedDistribution condensedDistribution) {
34 this.condensedDistribution = condensedDistribution;
35 }
36 /**
37 * @param tree the tree to set
38 */
39 public void setTree(DistributionTree tree) {
40 this.tree = tree;
41 }
42 /**
43 * @param mapUriParams the mapUriParams to set
44 */
45 public void setMapUriParams(String mapUriParams) {
46 this.mapUriParams = mapUriParams;
47 }
48 /**
49 * @param elements the elements to set
50 */
51 public void setElements(Set<Distribution> elements) {
52 this.elements = elements;
53 }
54
55 /**
56 * @return the condensedDistribution
57 */
58 public CondensedDistribution getCondensedDistribution() {
59 return condensedDistribution;
60 }
61 /**
62 * @return the tree
63 */
64 public DistributionTree getTree() {
65 return tree;
66 }
67 /**
68 * @return the mapUriParams
69 */
70 public String getMapUriParams() {
71 return mapUriParams;
72 }
73 /**
74 * @return the elements
75 */
76 public Set<Distribution> getElements() {
77 return elements;
78 }
79
80 public enum InfoPart{
81 condensedDistribution,
82 tree,
83 mapUriParams,
84 elements,
85 }
86
87
88 }