updated javadoc
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / dto / DistributionInfoDTO.java
1 // $Id$
2 /**
3 * Copyright (C) 2014 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.cdm.api.service.dto;
11
12 import java.util.Set;
13
14 import eu.etaxonomy.cdm.api.service.DistributionTree;
15 import eu.etaxonomy.cdm.model.description.Distribution;
16
17 /**
18 * @author a.kohlbecker
19 * @date Jan 29, 2014
20 *
21 */
22 public class DistributionInfoDTO {
23
24
25 private String condensedStatusString = null;
26 private DistributionTree tree = null;
27 private String mapUriParams = null;
28 private Set<Distribution> elements = null;
29
30
31 /**
32 * @param condensedStatusString the condensedStatusString to set
33 */
34 public void setCondensedStatusString(String condensedStatusString) {
35 this.condensedStatusString = condensedStatusString;
36 }
37 /**
38 * @param tree the tree to set
39 */
40 public void setTree(DistributionTree tree) {
41 this.tree = tree;
42 }
43 /**
44 * @param mapUriParams the mapUriParams to set
45 */
46 public void setMapUriParams(String mapUriParams) {
47 this.mapUriParams = mapUriParams;
48 }
49 /**
50 * @param elements the elements to set
51 */
52 public void setElements(Set<Distribution> elements) {
53 this.elements = elements;
54 }
55
56 /**
57 * @return the condensedStatusString
58 */
59 public String getCondensedStatusString() {
60 return condensedStatusString;
61 }
62 /**
63 * @return the tree
64 */
65 public DistributionTree getTree() {
66 return tree;
67 }
68 /**
69 * @return the mapUriParams
70 */
71 public String getMapUriParams() {
72 return mapUriParams;
73 }
74 /**
75 * @return the elements
76 */
77 public Set<Distribution> getElements() {
78 return elements;
79 }
80
81 public enum InfoPart{
82 condensedStatusString,
83 tree,
84 mapUriParams,
85 elements,
86 }
87
88
89 }