- added more parameters to DerivateHierarchyDTO
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / dto / DerivateHierarchyDTO.java
1 package eu.etaxonomy.cdm.api.service.dto;
2
3 import java.util.List;
4
5 import eu.etaxonomy.cdm.model.molecular.DnaSample;
6 import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
7 import eu.etaxonomy.cdm.model.occurrence.FieldUnit;
8
9 public class DerivateHierarchyDTO {
10
11 private DerivedUnit typeUnit;
12 private List<DnaSample> dnaSamples;
13 private List<DerivedUnit> preservedSpecimensWithSpecimenScan;
14 private int numberOfDerivates;
15 private List<String> herbaria;
16 private FieldUnit fieldUnit;
17
18 //Filter Flags
19 private boolean hasDna;
20 private boolean hasDetailImage;
21
22 //Row Attributes
23 private String country;
24 private String collection;
25 private String date;
26 private String herbarium;
27 private boolean hasType;
28 private boolean hasSpecimenScan;
29
30 //Detail pop-down
31 private String taxonName;
32 private String protologue;
33 private String citation;
34 private List<String> types;
35 private List<String> specimenScans;
36 private List<String> molecularData;
37 private List<String> detailImages;
38 /**
39 * @return the typeUnit
40 */
41 public DerivedUnit getTypeUnit() {
42 return typeUnit;
43 }
44 /**
45 * @param typeUnit the typeUnit to set
46 */
47 public void setTypeUnit(DerivedUnit typeUnit) {
48 this.typeUnit = typeUnit;
49 }
50 /**
51 * @return the dnaSamples
52 */
53 public List<DnaSample> getDnaSamples() {
54 return dnaSamples;
55 }
56 /**
57 * @param dnaSamples the dnaSamples to set
58 */
59 public void setDnaSamples(List<DnaSample> dnaSamples) {
60 this.dnaSamples = dnaSamples;
61 }
62 /**
63 * @return the preservedSpecimensWithSpecimenScan
64 */
65 public List<DerivedUnit> getPreservedSpecimensWithSpecimenScan() {
66 return preservedSpecimensWithSpecimenScan;
67 }
68 /**
69 * @param preservedSpecimensWithSpecimenScan the preservedSpecimensWithSpecimenScan to set
70 */
71 public void setPreservedSpecimensWithSpecimenScan(List<DerivedUnit> preservedSpecimensWithSpecimenScan) {
72 this.preservedSpecimensWithSpecimenScan = preservedSpecimensWithSpecimenScan;
73 }
74 /**
75 * @return the numberOfDerivates
76 */
77 public int getNumberOfDerivates() {
78 return numberOfDerivates;
79 }
80 /**
81 * @param numberOfDerivates the numberOfDerivates to set
82 */
83 public void setNumberOfDerivates(int numberOfDerivates) {
84 this.numberOfDerivates = numberOfDerivates;
85 }
86 /**
87 * @return the herbaria
88 */
89 public List<String> getHerbaria() {
90 return herbaria;
91 }
92 /**
93 * @param herbaria the herbaria to set
94 */
95 public void setHerbaria(List<String> herbaria) {
96 this.herbaria = herbaria;
97 }
98 /**
99 * @return the fieldUnit
100 */
101 public FieldUnit getFieldUnit() {
102 return fieldUnit;
103 }
104 /**
105 * @param fieldUnit the fieldUnit to set
106 */
107 public void setFieldUnit(FieldUnit fieldUnit) {
108 this.fieldUnit = fieldUnit;
109 }
110 /**
111 * @return the hasDna
112 */
113 public boolean isHasDna() {
114 return hasDna;
115 }
116 /**
117 * @param hasDna the hasDna to set
118 */
119 public void setHasDna(boolean hasDna) {
120 this.hasDna = hasDna;
121 }
122 /**
123 * @return the hasDetailImage
124 */
125 public boolean isHasDetailImage() {
126 return hasDetailImage;
127 }
128 /**
129 * @param hasDetailImage the hasDetailImage to set
130 */
131 public void setHasDetailImage(boolean hasDetailImage) {
132 this.hasDetailImage = hasDetailImage;
133 }
134 /**
135 * @return the country
136 */
137 public String getCountry() {
138 return country;
139 }
140 /**
141 * @param country the country to set
142 */
143 public void setCountry(String country) {
144 this.country = country;
145 }
146 /**
147 * @return the collection
148 */
149 public String getCollection() {
150 return collection;
151 }
152 /**
153 * @param collection the collection to set
154 */
155 public void setCollection(String collection) {
156 this.collection = collection;
157 }
158 /**
159 * @return the date
160 */
161 public String getDate() {
162 return date;
163 }
164 /**
165 * @param date the date to set
166 */
167 public void setDate(String date) {
168 this.date = date;
169 }
170 /**
171 * @return the herbarium
172 */
173 public String getHerbarium() {
174 return herbarium;
175 }
176 /**
177 * @param herbarium the herbarium to set
178 */
179 public void setHerbarium(String herbarium) {
180 this.herbarium = herbarium;
181 }
182 /**
183 * @return the hasType
184 */
185 public boolean isHasType() {
186 return hasType;
187 }
188 /**
189 * @param hasType the hasType to set
190 */
191 public void setHasType(boolean hasType) {
192 this.hasType = hasType;
193 }
194 /**
195 * @return the hasSpecimenScan
196 */
197 public boolean isHasSpecimenScan() {
198 return hasSpecimenScan;
199 }
200 /**
201 * @param hasSpecimenScan the hasSpecimenScan to set
202 */
203 public void setHasSpecimenScan(boolean hasSpecimenScan) {
204 this.hasSpecimenScan = hasSpecimenScan;
205 }
206 /**
207 * @return the taxonName
208 */
209 public String getTaxonName() {
210 return taxonName;
211 }
212 /**
213 * @param taxonName the taxonName to set
214 */
215 public void setTaxonName(String taxonName) {
216 this.taxonName = taxonName;
217 }
218 /**
219 * @return the protologue
220 */
221 public String getProtologue() {
222 return protologue;
223 }
224 /**
225 * @param protologue the protologue to set
226 */
227 public void setProtologue(String protologue) {
228 this.protologue = protologue;
229 }
230 /**
231 * @return the citation
232 */
233 public String getCitation() {
234 return citation;
235 }
236 /**
237 * @param citation the citation to set
238 */
239 public void setCitation(String citation) {
240 this.citation = citation;
241 }
242 /**
243 * @return the types
244 */
245 public List<String> getTypes() {
246 return types;
247 }
248 /**
249 * @param types the types to set
250 */
251 public void setTypes(List<String> types) {
252 this.types = types;
253 }
254 /**
255 * @return the specimenScans
256 */
257 public List<String> getSpecimenScans() {
258 return specimenScans;
259 }
260 /**
261 * @param specimenScans the specimenScans to set
262 */
263 public void setSpecimenScans(List<String> specimenScans) {
264 this.specimenScans = specimenScans;
265 }
266 /**
267 * @return the molecularData
268 */
269 public List<String> getMolecularData() {
270 return molecularData;
271 }
272 /**
273 * @param molecularData the molecularData to set
274 */
275 public void setMolecularData(List<String> molecularData) {
276 this.molecularData = molecularData;
277 }
278 /**
279 * @return the detailImages
280 */
281 public List<String> getDetailImages() {
282 return detailImages;
283 }
284 /**
285 * @param detailImages the detailImages to set
286 */
287 public void setDetailImages(List<String> detailImages) {
288 this.detailImages = detailImages;
289 }
290
291
292 }