1
|
//
|
2
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
|
3
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
4
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
5
|
// Generated on: 2015.10.27 at 03:20:07 PM CET
|
6
|
//
|
7
|
|
8
|
|
9
|
package org.cybertaxonomy.utis.tnr.msg;
|
10
|
|
11
|
import java.util.ArrayList;
|
12
|
import java.util.List;
|
13
|
import javax.xml.bind.annotation.XmlAccessType;
|
14
|
import javax.xml.bind.annotation.XmlAccessorType;
|
15
|
import javax.xml.bind.annotation.XmlElement;
|
16
|
import javax.xml.bind.annotation.XmlSchemaType;
|
17
|
import javax.xml.bind.annotation.XmlSeeAlso;
|
18
|
import javax.xml.bind.annotation.XmlType;
|
19
|
import com.wordnik.swagger.annotations.ApiModelProperty;
|
20
|
|
21
|
|
22
|
/**
|
23
|
* <p>Java class for taxonBase complex type.
|
24
|
*
|
25
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
26
|
*
|
27
|
* <pre>
|
28
|
* <complexType name="taxonBase">
|
29
|
* <complexContent>
|
30
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
31
|
* <sequence>
|
32
|
* <element name="taxonName" type="{http://cybertaxonomy.org/utis/tnr/msg}taxonName"/>
|
33
|
* <element name="accordingTo" minOccurs="0">
|
34
|
* <simpleType>
|
35
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
36
|
* </restriction>
|
37
|
* </simpleType>
|
38
|
* </element>
|
39
|
* <element name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
|
40
|
* <element name="taxonomicStatus" minOccurs="0">
|
41
|
* <simpleType>
|
42
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
43
|
* </restriction>
|
44
|
* </simpleType>
|
45
|
* </element>
|
46
|
* <element name="sources" type="{http://cybertaxonomy.org/utis/tnr/msg}source" maxOccurs="unbounded" minOccurs="0"/>
|
47
|
* </sequence>
|
48
|
* </restriction>
|
49
|
* </complexContent>
|
50
|
* </complexType>
|
51
|
* </pre>
|
52
|
*
|
53
|
*
|
54
|
*/
|
55
|
@XmlAccessorType(XmlAccessType.FIELD)
|
56
|
@XmlType(name = "taxonBase", propOrder = {
|
57
|
"taxonName",
|
58
|
"accordingTo",
|
59
|
"url",
|
60
|
"taxonomicStatus",
|
61
|
"sources"
|
62
|
})
|
63
|
@XmlSeeAlso({
|
64
|
Synonym.class,
|
65
|
Taxon.class
|
66
|
})
|
67
|
public class TaxonBase {
|
68
|
|
69
|
@XmlElement(required = true)
|
70
|
protected TaxonName taxonName;
|
71
|
protected String accordingTo;
|
72
|
@XmlElement(required = true)
|
73
|
@XmlSchemaType(name = "anyURI")
|
74
|
protected String url;
|
75
|
protected String taxonomicStatus;
|
76
|
protected List<Source> sources;
|
77
|
|
78
|
/**
|
79
|
* Gets the value of the taxonName property.
|
80
|
*
|
81
|
* @return
|
82
|
* possible object is
|
83
|
* {@link TaxonName }
|
84
|
*
|
85
|
*/
|
86
|
public TaxonName getTaxonName() {
|
87
|
return taxonName;
|
88
|
}
|
89
|
|
90
|
/**
|
91
|
* Sets the value of the taxonName property.
|
92
|
*
|
93
|
* @param value
|
94
|
* allowed object is
|
95
|
* {@link TaxonName }
|
96
|
*
|
97
|
*/
|
98
|
public void setTaxonName(TaxonName value) {
|
99
|
this.taxonName = value;
|
100
|
}
|
101
|
|
102
|
/**
|
103
|
* Gets the value of the accordingTo property.
|
104
|
*
|
105
|
* @return
|
106
|
* possible object is
|
107
|
* {@link String }
|
108
|
*
|
109
|
*/
|
110
|
@ApiModelProperty("The reference to the source in which the specific taxon concept circumscription is defined or implied - traditionally signified by the Latin 'sensu' or 'sec.' (from secundum, meaning 'according to').")
|
111
|
public String getAccordingTo() {
|
112
|
return accordingTo;
|
113
|
}
|
114
|
|
115
|
/**
|
116
|
* Sets the value of the accordingTo property.
|
117
|
*
|
118
|
* @param value
|
119
|
* allowed object is
|
120
|
* {@link String }
|
121
|
*
|
122
|
*/
|
123
|
public void setAccordingTo(String value) {
|
124
|
this.accordingTo = value;
|
125
|
}
|
126
|
|
127
|
/**
|
128
|
* Gets the value of the url property.
|
129
|
*
|
130
|
* @return
|
131
|
* possible object is
|
132
|
* {@link String }
|
133
|
*
|
134
|
*/
|
135
|
@ApiModelProperty("The URL pointing to the original record of the checklist provider.")
|
136
|
public String getUrl() {
|
137
|
return url;
|
138
|
}
|
139
|
|
140
|
/**
|
141
|
* Sets the value of the url property.
|
142
|
*
|
143
|
* @param value
|
144
|
* allowed object is
|
145
|
* {@link String }
|
146
|
*
|
147
|
*/
|
148
|
public void setUrl(String value) {
|
149
|
this.url = value;
|
150
|
}
|
151
|
|
152
|
/**
|
153
|
* Gets the value of the taxonomicStatus property.
|
154
|
*
|
155
|
* @return
|
156
|
* possible object is
|
157
|
* {@link String }
|
158
|
*
|
159
|
*/
|
160
|
@ApiModelProperty("The taxonomic status string like 'invalid', 'misapplied', 'homotypic synonym', 'accepted', 'synonym'. Corresponds to http://rs.tdwg.org/dwc/terms/taxonomicStatus")
|
161
|
public String getTaxonomicStatus() {
|
162
|
return taxonomicStatus;
|
163
|
}
|
164
|
|
165
|
/**
|
166
|
* Sets the value of the taxonomicStatus property.
|
167
|
*
|
168
|
* @param value
|
169
|
* allowed object is
|
170
|
* {@link String }
|
171
|
*
|
172
|
*/
|
173
|
public void setTaxonomicStatus(String value) {
|
174
|
this.taxonomicStatus = value;
|
175
|
}
|
176
|
|
177
|
/**
|
178
|
* Gets the value of the sources property.
|
179
|
*
|
180
|
* <p>
|
181
|
* This accessor method returns a reference to the live list,
|
182
|
* not a snapshot. Therefore any modification you make to the
|
183
|
* returned list will be present inside the JAXB object.
|
184
|
* This is why there is not a <CODE>set</CODE> method for the sources property.
|
185
|
*
|
186
|
* <p>
|
187
|
* For example, to add a new item, do as follows:
|
188
|
* <pre>
|
189
|
* getSources().add(newItem);
|
190
|
* </pre>
|
191
|
*
|
192
|
*
|
193
|
* <p>
|
194
|
* Objects of the following type(s) are allowed in the list
|
195
|
* {@link Source }
|
196
|
*
|
197
|
*
|
198
|
*/
|
199
|
public List<Source> getSources() {
|
200
|
if (sources == null) {
|
201
|
sources = new ArrayList<Source>();
|
202
|
}
|
203
|
return this.sources;
|
204
|
}
|
205
|
|
206
|
}
|