1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
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.11.12 at 10:43:37 PM CET
6 //
7
8
9 package eu.fbk.dkm.pikes.resources.util.fnlu;
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.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
19
20
21 /**
22 * <p>Java class for anonymous complex type.
23 *
24 * <p>The following schema fragment specifies the expected content contained within this class.
25 *
26 * <pre>
27 * <complexType>
28 * <complexContent>
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 * <sequence>
31 * <element name="header" type="{http://framenet.icsi.berkeley.edu}headerType"/>
32 * <element name="definition" type="{http://framenet.icsi.berkeley.edu}defType"/>
33 * <element name="lexeme" type="{http://framenet.icsi.berkeley.edu}lexemeType" maxOccurs="unbounded"/>
34 * <element name="semType" type="{http://framenet.icsi.berkeley.edu}semTypeRefType" maxOccurs="unbounded" minOccurs="0"/>
35 * <element name="valences" type="{http://framenet.icsi.berkeley.edu}valencesType" minOccurs="0"/>
36 * <element name="subCorpus" type="{http://framenet.icsi.berkeley.edu}subCorpusType" maxOccurs="unbounded" minOccurs="0"/>
37 * </sequence>
38 * <attGroup ref="{http://framenet.icsi.berkeley.edu}frameReference"/>
39 * <attGroup ref="{http://framenet.icsi.berkeley.edu}basicLUAttributes"/>
40 * <attribute name="totalAnnotated" type="{http://framenet.icsi.berkeley.edu}countType" />
41 * </restriction>
42 * </complexContent>
43 * </complexType>
44 * </pre>
45 *
46 *
47 */
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "", propOrder = {
50 "header",
51 "definition",
52 "lexeme",
53 "semType",
54 "valences",
55 "subCorpus"
56 })
57 @XmlRootElement(name = "lexUnit")
58 public class LexUnit {
59
60 @XmlElement(required = true)
61 protected HeaderType header;
62 @XmlElement(required = true)
63 protected String definition;
64 @XmlElement(required = true)
65 protected List<LexemeType> lexeme;
66 protected List<SemTypeRefType> semType;
67 protected ValencesType valences;
68 protected List<SubCorpusType> subCorpus;
69 @XmlAttribute(name = "totalAnnotated")
70 protected Integer totalAnnotated;
71 @XmlAttribute(name = "frameID")
72 protected Integer frameID;
73 @XmlAttribute(name = "frame")
74 protected String frame;
75 @XmlAttribute(name = "ID", required = true)
76 protected int id;
77 @XmlAttribute(name = "name", required = true)
78 protected String name;
79 @XmlAttribute(name = "POS", required = true)
80 protected POSType pos;
81 @XmlAttribute(name = "incorporatedFE")
82 protected String incorporatedFE;
83 @XmlAttribute(name = "status")
84 protected String status;
85
86 /**
87 * Gets the value of the header property.
88 *
89 * @return
90 * possible object is
91 * {@link HeaderType }
92 *
93 */
94 public HeaderType getHeader() {
95 return header;
96 }
97
98 /**
99 * Sets the value of the header property.
100 *
101 * @param value
102 * allowed object is
103 * {@link HeaderType }
104 *
105 */
106 public void setHeader(HeaderType value) {
107 this.header = value;
108 }
109
110 /**
111 * Gets the value of the definition property.
112 *
113 * @return
114 * possible object is
115 * {@link String }
116 *
117 */
118 public String getDefinition() {
119 return definition;
120 }
121
122 /**
123 * Sets the value of the definition property.
124 *
125 * @param value
126 * allowed object is
127 * {@link String }
128 *
129 */
130 public void setDefinition(String value) {
131 this.definition = value;
132 }
133
134 /**
135 * Gets the value of the lexeme property.
136 *
137 * <p>
138 * This accessor method returns a reference to the live list,
139 * not a snapshot. Therefore any modification you make to the
140 * returned list will be present inside the JAXB object.
141 * This is why there is not a <CODE>set</CODE> method for the lexeme property.
142 *
143 * <p>
144 * For example, to add a new item, do as follows:
145 * <pre>
146 * getLexeme().add(newItem);
147 * </pre>
148 *
149 *
150 * <p>
151 * Objects of the following type(s) are allowed in the list
152 * {@link LexemeType }
153 *
154 *
155 */
156 public List<LexemeType> getLexeme() {
157 if (lexeme == null) {
158 lexeme = new ArrayList<LexemeType>();
159 }
160 return this.lexeme;
161 }
162
163 /**
164 * Gets the value of the semType property.
165 *
166 * <p>
167 * This accessor method returns a reference to the live list,
168 * not a snapshot. Therefore any modification you make to the
169 * returned list will be present inside the JAXB object.
170 * This is why there is not a <CODE>set</CODE> method for the semType property.
171 *
172 * <p>
173 * For example, to add a new item, do as follows:
174 * <pre>
175 * getSemType().add(newItem);
176 * </pre>
177 *
178 *
179 * <p>
180 * Objects of the following type(s) are allowed in the list
181 * {@link SemTypeRefType }
182 *
183 *
184 */
185 public List<SemTypeRefType> getSemType() {
186 if (semType == null) {
187 semType = new ArrayList<SemTypeRefType>();
188 }
189 return this.semType;
190 }
191
192 /**
193 * Gets the value of the valences property.
194 *
195 * @return
196 * possible object is
197 * {@link ValencesType }
198 *
199 */
200 public ValencesType getValences() {
201 return valences;
202 }
203
204 /**
205 * Sets the value of the valences property.
206 *
207 * @param value
208 * allowed object is
209 * {@link ValencesType }
210 *
211 */
212 public void setValences(ValencesType value) {
213 this.valences = value;
214 }
215
216 /**
217 * Gets the value of the subCorpus property.
218 *
219 * <p>
220 * This accessor method returns a reference to the live list,
221 * not a snapshot. Therefore any modification you make to the
222 * returned list will be present inside the JAXB object.
223 * This is why there is not a <CODE>set</CODE> method for the subCorpus property.
224 *
225 * <p>
226 * For example, to add a new item, do as follows:
227 * <pre>
228 * getSubCorpus().add(newItem);
229 * </pre>
230 *
231 *
232 * <p>
233 * Objects of the following type(s) are allowed in the list
234 * {@link SubCorpusType }
235 *
236 *
237 */
238 public List<SubCorpusType> getSubCorpus() {
239 if (subCorpus == null) {
240 subCorpus = new ArrayList<SubCorpusType>();
241 }
242 return this.subCorpus;
243 }
244
245 /**
246 * Gets the value of the totalAnnotated property.
247 *
248 * @return
249 * possible object is
250 * {@link Integer }
251 *
252 */
253 public Integer getTotalAnnotated() {
254 return totalAnnotated;
255 }
256
257 /**
258 * Sets the value of the totalAnnotated property.
259 *
260 * @param value
261 * allowed object is
262 * {@link Integer }
263 *
264 */
265 public void setTotalAnnotated(Integer value) {
266 this.totalAnnotated = value;
267 }
268
269 /**
270 * Gets the value of the frameID property.
271 *
272 * @return
273 * possible object is
274 * {@link Integer }
275 *
276 */
277 public Integer getFrameID() {
278 return frameID;
279 }
280
281 /**
282 * Sets the value of the frameID property.
283 *
284 * @param value
285 * allowed object is
286 * {@link Integer }
287 *
288 */
289 public void setFrameID(Integer value) {
290 this.frameID = value;
291 }
292
293 /**
294 * Gets the value of the frame property.
295 *
296 * @return
297 * possible object is
298 * {@link String }
299 *
300 */
301 public String getFrame() {
302 return frame;
303 }
304
305 /**
306 * Sets the value of the frame property.
307 *
308 * @param value
309 * allowed object is
310 * {@link String }
311 *
312 */
313 public void setFrame(String value) {
314 this.frame = value;
315 }
316
317 /**
318 * Gets the value of the id property.
319 *
320 */
321 public int getID() {
322 return id;
323 }
324
325 /**
326 * Sets the value of the id property.
327 *
328 */
329 public void setID(int value) {
330 this.id = value;
331 }
332
333 /**
334 * Gets the value of the name property.
335 *
336 * @return
337 * possible object is
338 * {@link String }
339 *
340 */
341 public String getName() {
342 return name;
343 }
344
345 /**
346 * Sets the value of the name property.
347 *
348 * @param value
349 * allowed object is
350 * {@link String }
351 *
352 */
353 public void setName(String value) {
354 this.name = value;
355 }
356
357 /**
358 * Gets the value of the pos property.
359 *
360 * @return
361 * possible object is
362 * {@link POSType }
363 *
364 */
365 public POSType getPOS() {
366 return pos;
367 }
368
369 /**
370 * Sets the value of the pos property.
371 *
372 * @param value
373 * allowed object is
374 * {@link POSType }
375 *
376 */
377 public void setPOS(POSType value) {
378 this.pos = value;
379 }
380
381 /**
382 * Gets the value of the incorporatedFE property.
383 *
384 * @return
385 * possible object is
386 * {@link String }
387 *
388 */
389 public String getIncorporatedFE() {
390 return incorporatedFE;
391 }
392
393 /**
394 * Sets the value of the incorporatedFE property.
395 *
396 * @param value
397 * allowed object is
398 * {@link String }
399 *
400 */
401 public void setIncorporatedFE(String value) {
402 this.incorporatedFE = value;
403 }
404
405 /**
406 * Gets the value of the status property.
407 *
408 * @return
409 * possible object is
410 * {@link String }
411 *
412 */
413 public String getStatus() {
414 return status;
415 }
416
417 /**
418 * Sets the value of the status property.
419 *
420 * @param value
421 * allowed object is
422 * {@link String }
423 *
424 */
425 public void setStatus(String value) {
426 this.status = value;
427 }
428
429 }