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.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlElements;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlType;
20 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22
23
24
25
26
27 @XmlAccessorType(XmlAccessType.FIELD)
28 @XmlType(name = "", propOrder = {
29 "synrestrsOrSELRESTRS"
30 })
31 @XmlRootElement(name = "NP")
32 public class NP {
33
34 @XmlAttribute(name = "value", required = true)
35 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
36 protected String value;
37 @XmlElements({
38 @XmlElement(name = "SYNRESTRS", required = true, type = SYNRESTRS.class),
39 @XmlElement(name = "SELRESTRS", required = true, type = SELRESTRS.class)
40 })
41 protected List<Object> synrestrsOrSELRESTRS;
42
43
44
45
46
47
48
49
50
51 public String getValue() {
52 return value;
53 }
54
55
56
57
58
59
60
61
62
63 public void setValue(String value) {
64 this.value = value;
65 }
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90 public List<Object> getSYNRESTRSOrSELRESTRS() {
91 if (synrestrsOrSELRESTRS == null) {
92 synrestrsOrSELRESTRS = new ArrayList<Object>();
93 }
94 return this.synrestrsOrSELRESTRS;
95 }
96
97 }