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