1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.pikes.resources.ontonotes.senses;
10
11 import javax.xml.bind.annotation.*;
12 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
13 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
14
15
16
17
18
19 @XmlAccessorType(XmlAccessType.FIELD)
20 @XmlType(name = "", propOrder = {
21 "commentary",
22 "examples",
23 "mappings",
24 "sensemeta"
25 })
26 @XmlRootElement(name = "sense")
27 public class Sense {
28
29 @XmlAttribute(name = "n", required = true)
30 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
31 protected String n;
32 @XmlAttribute(name = "type")
33 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
34 protected String type;
35 @XmlAttribute(name = "name", required = true)
36 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
37 protected String name;
38 @XmlAttribute(name = "group", required = true)
39 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
40 protected String group;
41 protected String commentary;
42 @XmlElement(required = true)
43 protected String examples;
44 @XmlElement(required = true)
45 protected Mappings mappings;
46 @XmlElement(name = "SENSE_META", required = true)
47 protected SENSEMETA sensemeta;
48
49
50
51
52
53
54
55
56
57 public String getN() {
58 return n;
59 }
60
61
62
63
64
65
66
67
68
69 public void setN(String value) {
70 this.n = value;
71 }
72
73
74
75
76
77
78
79
80
81 public String getType() {
82 return type;
83 }
84
85
86
87
88
89
90
91
92
93 public void setType(String value) {
94 this.type = value;
95 }
96
97
98
99
100
101
102
103
104
105 public String getName() {
106 return name;
107 }
108
109
110
111
112
113
114
115
116
117 public void setName(String value) {
118 this.name = value;
119 }
120
121
122
123
124
125
126
127
128
129 public String getGroup() {
130 return group;
131 }
132
133
134
135
136
137
138
139
140
141 public void setGroup(String value) {
142 this.group = value;
143 }
144
145
146
147
148
149
150
151
152
153 public String getCommentary() {
154 return commentary;
155 }
156
157
158
159
160
161
162
163
164
165 public void setCommentary(String value) {
166 this.commentary = value;
167 }
168
169
170
171
172
173
174
175
176
177 public String getExamples() {
178 return examples;
179 }
180
181
182
183
184
185
186
187
188
189 public void setExamples(String value) {
190 this.examples = value;
191 }
192
193
194
195
196
197
198
199
200
201 public Mappings getMappings() {
202 return mappings;
203 }
204
205
206
207
208
209
210
211
212
213 public void setMappings(Mappings value) {
214 this.mappings = value;
215 }
216
217
218
219
220
221
222
223
224
225 public SENSEMETA getSENSEMETA() {
226 return sensemeta;
227 }
228
229
230
231
232
233
234
235
236
237 public void setSENSEMETA(SENSEMETA value) {
238 this.sensemeta = value;
239 }
240
241 }