1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.premon.premonitor.verbnet;
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.XmlElements;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
19
20
21
22
23
24 @XmlAccessorType(XmlAccessType.FIELD)
25 @XmlType(name = "", propOrder = {
26 "npOrVERBOrADJOrADVOrPREPOrLEX"
27 })
28 @XmlRootElement(name = "SYNTAX")
29 public class SYNTAX {
30
31 @XmlElements({
32 @XmlElement(name = "NP", required = true, type = NP.class),
33 @XmlElement(name = "VERB", required = true, type = VERB.class),
34 @XmlElement(name = "ADJ", required = true, type = ADJ.class),
35 @XmlElement(name = "ADV", required = true, type = ADV.class),
36 @XmlElement(name = "PREP", required = true, type = PREP.class),
37 @XmlElement(name = "LEX", required = true, type = LEX.class)
38 })
39 protected List<Object> npOrVERBOrADJOrADVOrPREPOrLEX;
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68 public List<Object> getNPOrVERBOrADJOrADVOrPREPOrLEX() {
69 if (npOrVERBOrADJOrADVOrPREPOrLEX == null) {
70 npOrVERBOrADJOrADVOrPREPOrLEX = new ArrayList<Object>();
71 }
72 return this.npOrVERBOrADJOrADVOrPREPOrLEX;
73 }
74
75 }