2 * Copyright (C) 2008 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.io
.jaxb
;
12 import java
.util
.ArrayList
;
13 import java
.util
.Collection
;
14 import java
.util
.List
;
16 import javax
.xml
.bind
.annotation
.XmlAccessType
;
17 import javax
.xml
.bind
.annotation
.XmlAccessorType
;
18 import javax
.xml
.bind
.annotation
.XmlElement
;
19 import javax
.xml
.bind
.annotation
.XmlElementWrapper
;
20 import javax
.xml
.bind
.annotation
.XmlElements
;
21 import javax
.xml
.bind
.annotation
.XmlRootElement
;
22 import javax
.xml
.bind
.annotation
.XmlType
;
24 import org
.springframework
.security
.core
.GrantedAuthority
;
26 import eu
.etaxonomy
.cdm
.io
.common
.IExportData
;
27 import eu
.etaxonomy
.cdm
.model
.agent
.AgentBase
;
28 import eu
.etaxonomy
.cdm
.model
.agent
.Institution
;
29 import eu
.etaxonomy
.cdm
.model
.agent
.Person
;
30 import eu
.etaxonomy
.cdm
.model
.agent
.Team
;
31 import eu
.etaxonomy
.cdm
.model
.common
.AnnotationType
;
32 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTerm
;
33 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTermBase
;
34 import eu
.etaxonomy
.cdm
.model
.common
.EventBase
;
35 import eu
.etaxonomy
.cdm
.model
.common
.ExtensionType
;
36 import eu
.etaxonomy
.cdm
.model
.common
.GrantedAuthorityImpl
;
37 import eu
.etaxonomy
.cdm
.model
.common
.Group
;
38 import eu
.etaxonomy
.cdm
.model
.common
.Language
;
39 import eu
.etaxonomy
.cdm
.model
.common
.LanguageString
;
40 import eu
.etaxonomy
.cdm
.model
.common
.MarkerType
;
41 import eu
.etaxonomy
.cdm
.model
.common
.OrderedTermVocabulary
;
42 import eu
.etaxonomy
.cdm
.model
.common
.TermVocabulary
;
43 import eu
.etaxonomy
.cdm
.model
.common
.User
;
44 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
45 import eu
.etaxonomy
.cdm
.model
.description
.FeatureTree
;
46 import eu
.etaxonomy
.cdm
.model
.description
.MeasurementUnit
;
47 import eu
.etaxonomy
.cdm
.model
.description
.MediaKey
;
48 import eu
.etaxonomy
.cdm
.model
.description
.PolytomousKey
;
49 import eu
.etaxonomy
.cdm
.model
.description
.PresenceAbsenceTerm
;
50 import eu
.etaxonomy
.cdm
.model
.description
.State
;
51 import eu
.etaxonomy
.cdm
.model
.description
.StatisticalMeasure
;
52 import eu
.etaxonomy
.cdm
.model
.description
.TextFormat
;
53 import eu
.etaxonomy
.cdm
.model
.location
.Country
;
54 import eu
.etaxonomy
.cdm
.model
.location
.NamedArea
;
55 import eu
.etaxonomy
.cdm
.model
.location
.NamedAreaLevel
;
56 import eu
.etaxonomy
.cdm
.model
.location
.NamedAreaType
;
57 import eu
.etaxonomy
.cdm
.model
.location
.ReferenceSystem
;
58 import eu
.etaxonomy
.cdm
.model
.media
.Media
;
59 import eu
.etaxonomy
.cdm
.model
.media
.RightsType
;
60 import eu
.etaxonomy
.cdm
.model
.molecular
.DnaSample
;
61 import eu
.etaxonomy
.cdm
.model
.molecular
.PhylogeneticTree
;
62 import eu
.etaxonomy
.cdm
.model
.name
.BacterialName
;
63 import eu
.etaxonomy
.cdm
.model
.name
.BotanicalName
;
64 import eu
.etaxonomy
.cdm
.model
.name
.CultivarPlantName
;
65 import eu
.etaxonomy
.cdm
.model
.name
.HomotypicalGroup
;
66 import eu
.etaxonomy
.cdm
.model
.name
.HybridRelationshipType
;
67 import eu
.etaxonomy
.cdm
.model
.name
.NameRelationshipType
;
68 import eu
.etaxonomy
.cdm
.model
.name
.NameTypeDesignation
;
69 import eu
.etaxonomy
.cdm
.model
.name
.NameTypeDesignationStatus
;
70 import eu
.etaxonomy
.cdm
.model
.name
.NomenclaturalCode
;
71 import eu
.etaxonomy
.cdm
.model
.name
.NomenclaturalStatusType
;
72 import eu
.etaxonomy
.cdm
.model
.name
.NonViralName
;
73 import eu
.etaxonomy
.cdm
.model
.name
.Rank
;
74 import eu
.etaxonomy
.cdm
.model
.name
.SpecimenTypeDesignation
;
75 import eu
.etaxonomy
.cdm
.model
.name
.SpecimenTypeDesignationStatus
;
76 import eu
.etaxonomy
.cdm
.model
.name
.TaxonNameBase
;
77 import eu
.etaxonomy
.cdm
.model
.name
.TypeDesignationBase
;
78 import eu
.etaxonomy
.cdm
.model
.name
.ViralName
;
79 import eu
.etaxonomy
.cdm
.model
.name
.ZoologicalName
;
80 import eu
.etaxonomy
.cdm
.model
.occurrence
.DerivationEvent
;
81 import eu
.etaxonomy
.cdm
.model
.occurrence
.DerivationEventType
;
82 import eu
.etaxonomy
.cdm
.model
.occurrence
.DerivedUnit
;
83 import eu
.etaxonomy
.cdm
.model
.occurrence
.FieldUnit
;
84 import eu
.etaxonomy
.cdm
.model
.occurrence
.GatheringEvent
;
85 import eu
.etaxonomy
.cdm
.model
.occurrence
.PreservationMethod
;
86 import eu
.etaxonomy
.cdm
.model
.occurrence
.SpecimenOrObservationBase
;
87 import eu
.etaxonomy
.cdm
.model
.reference
.Reference
;
88 import eu
.etaxonomy
.cdm
.model
.taxon
.Classification
;
89 import eu
.etaxonomy
.cdm
.model
.taxon
.Synonym
;
90 import eu
.etaxonomy
.cdm
.model
.taxon
.SynonymType
;
91 import eu
.etaxonomy
.cdm
.model
.taxon
.Taxon
;
92 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonBase
;
93 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonNode
;
94 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonRelationshipType
;
97 * @author a.babadshanjan
99 @XmlAccessorType(XmlAccessType
.FIELD
)
100 @XmlType(name
= "DataSet", propOrder
= {
119 "grantedAuthorities",
122 @XmlRootElement(name
= "DataSet")
123 public class DataSet
implements IExportData
{
125 @XmlElementWrapper(name
= "Terms")
127 @XmlElement(name
= "AnnotationType", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= AnnotationType
.class),
128 @XmlElement(name
= "Continent", namespace
= "http://etaxonomy.eu/cdm/model/location/1.0", type
= NamedArea
.class),
129 @XmlElement(name
= "DerivationEventType", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= DerivationEventType
.class),
130 @XmlElement(name
= "DeterminationModifier", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= DefinedTerm
.class),
131 @XmlElement(name
= "ExtensionType", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= ExtensionType
.class),
132 @XmlElement(name
= "Feature", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= Feature
.class),
133 @XmlElement(name
= "HybridRelationshipType", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= HybridRelationshipType
.class),
134 @XmlElement(name
= "InstitutionType", namespace
= "http://etaxonomy.eu/cdm/model/agent/1.0", type
= DefinedTerm
.class),
135 @XmlElement(name
= "Language", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= Language
.class),
136 @XmlElement(name
= "MarkerType", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= MarkerType
.class),
137 @XmlElement(name
= "MeasurementUnit", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= MeasurementUnit
.class),
138 @XmlElement(name
= "Modifier", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= DefinedTerm
.class),
139 @XmlElement(name
= "NamedArea", namespace
= "http://etaxonomy.eu/cdm/model/location/1.0", type
= NamedArea
.class),
140 @XmlElement(name
= "NamedAreaLevel", namespace
= "http://etaxonomy.eu/cdm/model/location/1.0", type
= NamedAreaLevel
.class),
141 @XmlElement(name
= "NamedAreaType", namespace
= "http://etaxonomy.eu/cdm/model/location/1.0", type
= NamedAreaType
.class),
142 @XmlElement(name
= "NameRelationshipType", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= NameRelationshipType
.class),
143 @XmlElement(name
= "NameTypeDesignationStatus", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= NameTypeDesignationStatus
.class),
144 @XmlElement(name
= "NomenclaturalCode", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= NomenclaturalCode
.class),
145 @XmlElement(name
= "NomenclaturalStatusType", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= NomenclaturalStatusType
.class),
146 @XmlElement(name
= "PresenceAbsenceTerm", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= PresenceAbsenceTerm
.class),
147 @XmlElement(name
= "PreservationMethod", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= PreservationMethod
.class),
148 @XmlElement(name
= "Rank", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= Rank
.class),
149 @XmlElement(name
= "ReferenceSystem", namespace
= "http://etaxonomy.eu/cdm/model/location/1.0", type
= ReferenceSystem
.class),
150 @XmlElement(name
= "RightsType", namespace
= "http://etaxonomy.eu/cdm/model/media/1.0", type
= RightsType
.class),
151 @XmlElement(name
= "Scope", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= DefinedTerm
.class),
152 @XmlElement(name
= "Sex", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= DefinedTerm
.class),
153 @XmlElement(name
= "SpecimenTypeDesignationStatus", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= SpecimenTypeDesignationStatus
.class),
154 @XmlElement(name
= "Stage", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= DefinedTerm
.class),
155 @XmlElement(name
= "State", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= State
.class),
156 @XmlElement(name
= "StatisticalMeasure", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= StatisticalMeasure
.class),
157 @XmlElement(name
= "SynonymType", namespace
= "http://etaxonomy.eu/cdm/model/taxon/1.0", type
= SynonymType
.class),
158 @XmlElement(name
= "TaxonRelationshipType", namespace
= "http://etaxonomy.eu/cdm/model/taxon/1.0", type
= TaxonRelationshipType
.class),
159 // @XmlElement(name = "TdwgArea", namespace = "http://etaxonomy.eu/cdm/model/location/1.0", type = TdwgArea.class),
160 @XmlElement(name
= "TextFormat", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= TextFormat
.class),
161 @XmlElement(name
= "Country", namespace
= "http://etaxonomy.eu/cdm/model/location/1.0", type
= Country
.class)
164 protected List
<DefinedTermBase
> terms
= new ArrayList
<DefinedTermBase
>();
166 @XmlElementWrapper(name
= "TermVocabularies")
168 @XmlElement(name
= "TermVocabulary", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= TermVocabulary
.class),
169 @XmlElement(name
= "OrderedTermVocabulary", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= OrderedTermVocabulary
.class)
172 protected List
<TermVocabulary
<DefinedTermBase
>> termVocabularies
= new ArrayList
<TermVocabulary
<DefinedTermBase
>>();
175 @XmlElementWrapper(name
= "Agents")
177 @XmlElement(name
= "Team", namespace
= "http://etaxonomy.eu/cdm/model/agent/1.0", type
= Team
.class),
178 @XmlElement(name
= "Institution", namespace
= "http://etaxonomy.eu/cdm/model/agent/1.0", type
= Institution
.class),
179 @XmlElement(name
= "Person", namespace
= "http://etaxonomy.eu/cdm/model/agent/1.0", type
= Person
.class)
181 protected List
<AgentBase
> agents
= new ArrayList
<AgentBase
>();
184 @XmlElementWrapper(name
= "Collections")
185 @XmlElement(name
= "Collection", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0")
186 protected List
<eu
.etaxonomy
.cdm
.model
.occurrence
.Collection
> collections
= new ArrayList
<eu
.etaxonomy
.cdm
.model
.occurrence
.Collection
>();
188 @XmlElementWrapper(name
= "FeatureTrees")
190 @XmlElement(name
= "FeatureTree", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= FeatureTree
.class)
192 protected List
<FeatureTree
> featureTrees
= new ArrayList
<FeatureTree
>();
194 @XmlElementWrapper(name
= "PolytomousKeys")
196 @XmlElement(name
= "PolytomousKey", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= PolytomousKey
.class)
198 protected List
<PolytomousKey
> polytomousKeys
= new ArrayList
<PolytomousKey
>();
201 @XmlElementWrapper(name
= "Classifications")
202 @XmlElement(name
= "Classification", namespace
= "http://etaxonomy.eu/cdm/model/taxon/1.0")
203 protected List
<Classification
> classifications
= new ArrayList
<Classification
>();
205 @XmlElementWrapper(name
= "TaxonNodes")
206 @XmlElement(name
= "TaxonNodes", namespace
= "http://etaxonomy.eu/cdm/model/taxon/1.0")
207 protected List
<TaxonNode
> taxonNodes
= new ArrayList
<TaxonNode
>();
209 protected List
<LanguageString
> languageStrings
=new ArrayList
<LanguageString
>();
212 @XmlElementWrapper(name
= "Occurrences")
214 @XmlElement(name
= "DerivedUnit", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= DerivedUnit
.class),
215 @XmlElement(name
= "DnaSample", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= DnaSample
.class),
216 @XmlElement(name
= "FieldUnit", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= FieldUnit
.class)
218 protected List
<SpecimenOrObservationBase
> occurrences
= new ArrayList
<SpecimenOrObservationBase
>();
220 @XmlElementWrapper(name
= "EventBases")
222 @XmlElement(name
= "DerivationEvent", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= DerivationEvent
.class),
223 @XmlElement(name
= "GatheringEvent", namespace
= "http://etaxonomy.eu/cdm/model/occurrence/1.0", type
= GatheringEvent
.class)
225 protected List
<EventBase
> eventBases
= new ArrayList
<EventBase
>();
227 @XmlElementWrapper(name
= "References")
229 @XmlElement(name
= "Reference", namespace
= "http://etaxonomy.eu/cdm/model/reference/1.0", type
= Reference
.class)
231 protected List
<Reference
> references
= new ArrayList
<Reference
>();
233 @XmlElementWrapper(name
= "TypeDesignations")
235 @XmlElement(name
= "NameTypeDesignation", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= NameTypeDesignation
.class),
236 @XmlElement(name
= "SpecimenTypeDesignation", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= SpecimenTypeDesignation
.class)
238 protected List
<TypeDesignationBase
> typeDesignations
= new ArrayList
<TypeDesignationBase
>();
240 @XmlElementWrapper(name
= "TaxonomicNames")
242 @XmlElement(name
= "BacterialName", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= BacterialName
.class),
243 @XmlElement(name
= "BotanicalName", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= BotanicalName
.class),
244 @XmlElement(name
= "CultivarPlantName", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= CultivarPlantName
.class),
245 @XmlElement(name
= "NonViralName", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= NonViralName
.class),
246 @XmlElement(name
= "ViralName", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= ViralName
.class),
247 @XmlElement(name
= "ZoologicalName", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0", type
= ZoologicalName
.class)
249 protected List
<TaxonNameBase
> taxonomicNames
= new ArrayList
<TaxonNameBase
>();
251 @XmlElementWrapper(name
= "TaxonBases")
253 @XmlElement(name
= "Taxon", namespace
= "http://etaxonomy.eu/cdm/model/taxon/1.0", type
= Taxon
.class),
254 @XmlElement(name
= "Synonym", namespace
= "http://etaxonomy.eu/cdm/model/taxon/1.0", type
= Synonym
.class)
256 protected List
<TaxonBase
<?
>> taxonBases
= new ArrayList
<TaxonBase
<?
>>();
258 @XmlElementWrapper(name
= "Media")
260 @XmlElement(name
= "Media", namespace
= "http://etaxonomy.eu/cdm/model/media/1.0", type
= Media
.class),
261 @XmlElement(name
= "MediaKey", namespace
= "http://etaxonomy.eu/cdm/model/description/1.0", type
= MediaKey
.class),
262 @XmlElement(name
= "PhylogeneticTree", namespace
= "http://etaxonomy.eu/cdm/model/molecular/1.0", type
= PhylogeneticTree
.class)
264 protected List
<Media
> media
= new ArrayList
<Media
>();
266 @XmlElementWrapper(name
= "HomotypicalGroups")
267 @XmlElement(name
= "HomotypicalGroup", namespace
= "http://etaxonomy.eu/cdm/model/name/1.0")
268 protected List
<HomotypicalGroup
> homotypicalGroups
= new ArrayList
<HomotypicalGroup
>();
270 @XmlElementWrapper(name
= "Users")
271 @XmlElement(name
= "User", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0")
272 protected List
<User
> users
= new ArrayList
<User
>();
274 @XmlElementWrapper(name
= "Groups")
275 @XmlElement(name
= "Group", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0")
276 protected List
<Group
> groups
= new ArrayList
<Group
>();
278 @XmlElementWrapper(name
= "GrantedAuthorities")
279 @XmlElement(name
= "GrantedAuthority", namespace
= "http://etaxonomy.eu/cdm/model/common/1.0", type
= GrantedAuthorityImpl
.class)
280 protected List
<GrantedAuthority
> grantedAuthorities
= new ArrayList
<GrantedAuthority
>();
283 * Gets the value of the agents property.
287 * {@link List<Agent> }
290 public List
<AgentBase
> getAgents() {
295 * Sets the value of the agents property.
299 * {@link List<Agent> }
302 public void setAgents(List
<AgentBase
> value
) {
307 * Gets the value of the collections property.
311 * {@link List<eu.etaxonomy.cdm.model.occurrence.Collection> }
314 public List
<eu
.etaxonomy
.cdm
.model
.occurrence
.Collection
> getCollections() {
319 * Sets the value of the collections property.
323 * {@link List<eu.etaxonomy.cdm.model.occurrence.Collection> }
326 public void setCollections(List
<eu
.etaxonomy
.cdm
.model
.occurrence
.Collection
> value
) {
327 this.collections
= value
;
331 * Gets the value of the terms property.
335 * {@link List<TermBase> }
338 public List
<DefinedTermBase
> getTerms() {
343 * Sets the value of the terms property.
347 * {@link List<TermBase> }
350 public void setTerms(List
<DefinedTermBase
> value
) {
355 * Gets the value of the term vocabularies property.
359 * {@link List<TermVocabulary> }
363 public List
<TermVocabulary
<DefinedTermBase
>> getTermVocabularies() {
364 return termVocabularies
;
368 * Sets the value of the term vocabularies property.
372 * {@link List<TermVocabulary> }
375 public void setTermVocabularies(List
<TermVocabulary
<DefinedTermBase
>> value
) {
376 this.termVocabularies
= value
;
382 * Gets the value of the taxonomicNames property.
386 * {@link List<axonNameBase> }
389 public List
<TaxonNameBase
> getTaxonomicNames() {
390 return taxonomicNames
;
394 * Sets the value of the taxonomicNames property.
398 * {@link List<TaxonNameBase> }
401 public void setTaxonomicNames(List
<TaxonNameBase
> value
) {
402 this.taxonomicNames
= value
;
406 * Gets the value of the eventBases property.
410 * {@link List<EventBase> }
413 public List
<EventBase
> getEventBases() {
418 * Sets the value of the eventBases property.
422 * {@link List<EventBase> }
425 public void setEventBases(List
<EventBase
> value
) {
426 this.eventBases
= value
;
430 * Gets the value of the occurrences property.
434 * {@link List<SpecimenOrObservationBase> }
437 public List
<SpecimenOrObservationBase
> getOccurrences() {
442 * Sets the value of the occurrences property.
446 * {@link List<SpecimenOrObservationBase> }
449 public void setOccurrences(List
<SpecimenOrObservationBase
> value
) {
450 this.occurrences
= value
;
453 * Gets the value of the occurrences property.
457 * {@link List<LanguageStringBase> }
460 public List
<LanguageString
> getLanguageStrings() {
461 return languageStrings
;
465 * Sets the value of the occurrences property.
469 * {@link List<SpecimenOrObservationBase> }
472 public void setLanguageStrings(List
<LanguageString
> value
) {
473 this.languageStrings
= value
;
476 * Gets the value of the references property.
480 * {@link List<Reference> }
483 public List
<Reference
> getReferences() {
488 * Sets the value of the references property.
492 * {@link List<Reference> }
495 public void setReferences(List
<Reference
> value
) {
496 this.references
= value
;
500 * Gets the value of the featureTrees property.
504 * {@link List<FeatureTree> }
507 public List
<FeatureTree
> getFeatureTrees() {
513 * Gets the value of the polytomousKeys property.
517 * {@link List<PolytomousKey> }
520 public List
<PolytomousKey
> getPolytomousKeys() {
521 return polytomousKeys
;
525 * Sets the value of the featureTrees property.
529 * {@link List<FeatureTree> }
532 public void setClassifications(List
<Classification
> value
) {
533 this.classifications
= value
;
538 * Gets the value of the featureTrees property.
542 * {@link List<FeatureTree> }
545 public List
<Classification
> getClassifications() {
546 return classifications
;
549 * Sets the value of the featureTrees property.
553 * {@link List<FeatureTree> }
556 public void setTaxonNodes(List
<TaxonNode
> value
) {
557 this.taxonNodes
= value
;
562 * Gets the value of the featureTrees property.
566 * {@link List<FeatureTree> }
569 public List
<TaxonNode
> getTaxonNodes() {
574 * Sets the value of the featureTrees property.
578 * {@link List<FeatureTree> }
581 public void setFeatureTrees(List
<FeatureTree
> value
) {
582 this.featureTrees
= value
;
586 * Sets the value of the polytomousKeys property.
590 * {@link List<PolytomousKey> }
593 public void setPolytomousKeys(List
<PolytomousKey
> value
) {
594 this.polytomousKeys
= value
;
598 * Adds the taxonBases in value to the taxonBases property list.
602 * {@link Collection<TaxonBase> }
605 public void addTaxonBases(Collection
<TaxonBase
<?
>> value
) {
606 this.taxonBases
.addAll(value
);
610 * Gets the value of the taxonBases property as {@link Collection<TaxonBase> }
614 * {@link List<TaxonBase> }
617 public List
<TaxonBase
<?
>> getTaxonBases() {
622 * Sets the value of the taxonBases property.
626 * {@link List<TaxonBase> }
629 public void setTaxonBases(List
<TaxonBase
<?
>> value
) {
630 this.taxonBases
= value
;
634 * Adds the taxonBase in value to the taxonBases property list.
639 public void addTaxonBase(TaxonBase value
) {
640 this.taxonBases
.add(value
);
644 * Adds the media in value to the media property list.
648 * {@link Collection<VersionableEntity> }
651 public <T
extends Media
> void addMedia(Collection
<T
> value
) {
652 for (T medium
: value
) {
653 this.media
.add(medium
);
658 * Gets the value of the property.
662 * {@link List<ReferencedEntityBase> }
665 public List
<Media
> getMedia() {
670 * Sets the value of the referencedEntities property.
674 * {@link List<ReferencedEntityBase> }
677 public void setMedia(List
<Media
> value
) {
678 this.media
= new ArrayList
<Media
>();
683 * Gets the value of the synonyms property.
687 * {@link List<Synonym> }
690 public List
<HomotypicalGroup
> getHomotypicalGroups() {
691 return homotypicalGroups
;
695 * Sets the value of the synonyms property.
699 * {@link List<Synonym> }
702 public void setHomotypicalGroups(List
<HomotypicalGroup
> value
) {
703 this.homotypicalGroups
= value
;
707 * Gets the value of the typeDesignations property.
711 * {@link List<TypeDesignationBase> }
714 public List
<TypeDesignationBase
> getTypeDesignations() {
715 return typeDesignations
;
719 * Sets the value of the typeDesignations property.
723 * {@link List<TypeDesignationBase> }
726 public void addTypeDesignations(List
<TypeDesignationBase
> typeDesignations
) {
727 this.typeDesignations
.addAll(typeDesignations
);
731 * Gets the value of the users property.
735 * {@link List<User> }
738 public List
<User
> getUsers() {
743 * Sets the value of the users property.
747 * {@link List<User> }
750 public void setUsers(List
<User
> users
) {
755 * Gets the value of the groups property.
759 * {@link List<Group> }
762 public List
<Group
> getGroups() {
767 * Sets the value of the groups property.
771 * {@link List<Group> }
774 public void setGroups(List
<Group
> groups
) {
775 this.groups
= groups
;
779 * Gets the value of the grantedAuthorities property.
783 * {@link List<GrantedAuthority> }
786 public List
<GrantedAuthority
> getGrantedAuthorities() {
787 return grantedAuthorities
;
791 * Sets the value of the grantedAuthorities property.
795 * {@link List<GrantedAuthority> }
798 public void setGrantedAuthorities(List
<GrantedAuthority
> grantedAuthorities
) {
799 this.grantedAuthorities
= grantedAuthorities
;
802 public void addUser(User deproxy
) {
803 this.users
.add(deproxy
);