1 package eu
.etaxonomy
.cdm
.api
.service
.dto
;
5 import eu
.etaxonomy
.cdm
.model
.molecular
.DnaSample
;
6 import eu
.etaxonomy
.cdm
.model
.occurrence
.DerivedUnit
;
7 import eu
.etaxonomy
.cdm
.model
.occurrence
.FieldUnit
;
9 public class DerivateHierarchyDTO
{
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
;
19 private boolean hasDna
;
20 private boolean hasDetailImage
;
23 private String country
;
24 private String collection
;
26 private String herbarium
;
27 private boolean hasType
;
28 private boolean hasSpecimenScan
;
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
;
39 * @return the typeUnit
41 public DerivedUnit
getTypeUnit() {
45 * @param typeUnit the typeUnit to set
47 public void setTypeUnit(DerivedUnit typeUnit
) {
48 this.typeUnit
= typeUnit
;
51 * @return the dnaSamples
53 public List
<DnaSample
> getDnaSamples() {
57 * @param dnaSamples the dnaSamples to set
59 public void setDnaSamples(List
<DnaSample
> dnaSamples
) {
60 this.dnaSamples
= dnaSamples
;
63 * @return the preservedSpecimensWithSpecimenScan
65 public List
<DerivedUnit
> getPreservedSpecimensWithSpecimenScan() {
66 return preservedSpecimensWithSpecimenScan
;
69 * @param preservedSpecimensWithSpecimenScan the preservedSpecimensWithSpecimenScan to set
71 public void setPreservedSpecimensWithSpecimenScan(List
<DerivedUnit
> preservedSpecimensWithSpecimenScan
) {
72 this.preservedSpecimensWithSpecimenScan
= preservedSpecimensWithSpecimenScan
;
75 * @return the numberOfDerivates
77 public int getNumberOfDerivates() {
78 return numberOfDerivates
;
81 * @param numberOfDerivates the numberOfDerivates to set
83 public void setNumberOfDerivates(int numberOfDerivates
) {
84 this.numberOfDerivates
= numberOfDerivates
;
87 * @return the herbaria
89 public List
<String
> getHerbaria() {
93 * @param herbaria the herbaria to set
95 public void setHerbaria(List
<String
> herbaria
) {
96 this.herbaria
= herbaria
;
99 * @return the fieldUnit
101 public FieldUnit
getFieldUnit() {
105 * @param fieldUnit the fieldUnit to set
107 public void setFieldUnit(FieldUnit fieldUnit
) {
108 this.fieldUnit
= fieldUnit
;
113 public boolean isHasDna() {
117 * @param hasDna the hasDna to set
119 public void setHasDna(boolean hasDna
) {
120 this.hasDna
= hasDna
;
123 * @return the hasDetailImage
125 public boolean isHasDetailImage() {
126 return hasDetailImage
;
129 * @param hasDetailImage the hasDetailImage to set
131 public void setHasDetailImage(boolean hasDetailImage
) {
132 this.hasDetailImage
= hasDetailImage
;
135 * @return the country
137 public String
getCountry() {
141 * @param country the country to set
143 public void setCountry(String country
) {
144 this.country
= country
;
147 * @return the collection
149 public String
getCollection() {
153 * @param collection the collection to set
155 public void setCollection(String collection
) {
156 this.collection
= collection
;
161 public String
getDate() {
165 * @param date the date to set
167 public void setDate(String date
) {
171 * @return the herbarium
173 public String
getHerbarium() {
177 * @param herbarium the herbarium to set
179 public void setHerbarium(String herbarium
) {
180 this.herbarium
= herbarium
;
183 * @return the hasType
185 public boolean isHasType() {
189 * @param hasType the hasType to set
191 public void setHasType(boolean hasType
) {
192 this.hasType
= hasType
;
195 * @return the hasSpecimenScan
197 public boolean isHasSpecimenScan() {
198 return hasSpecimenScan
;
201 * @param hasSpecimenScan the hasSpecimenScan to set
203 public void setHasSpecimenScan(boolean hasSpecimenScan
) {
204 this.hasSpecimenScan
= hasSpecimenScan
;
207 * @return the taxonName
209 public String
getTaxonName() {
213 * @param taxonName the taxonName to set
215 public void setTaxonName(String taxonName
) {
216 this.taxonName
= taxonName
;
219 * @return the protologue
221 public String
getProtologue() {
225 * @param protologue the protologue to set
227 public void setProtologue(String protologue
) {
228 this.protologue
= protologue
;
231 * @return the citation
233 public String
getCitation() {
237 * @param citation the citation to set
239 public void setCitation(String citation
) {
240 this.citation
= citation
;
245 public List
<String
> getTypes() {
249 * @param types the types to set
251 public void setTypes(List
<String
> types
) {
255 * @return the specimenScans
257 public List
<String
> getSpecimenScans() {
258 return specimenScans
;
261 * @param specimenScans the specimenScans to set
263 public void setSpecimenScans(List
<String
> specimenScans
) {
264 this.specimenScans
= specimenScans
;
267 * @return the molecularData
269 public List
<String
> getMolecularData() {
270 return molecularData
;
273 * @param molecularData the molecularData to set
275 public void setMolecularData(List
<String
> molecularData
) {
276 this.molecularData
= molecularData
;
279 * @return the detailImages
281 public List
<String
> getDetailImages() {
285 * @param detailImages the detailImages to set
287 public void setDetailImages(List
<String
> detailImages
) {
288 this.detailImages
= detailImages
;