1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.pikes.resources.util.onsenses;
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.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20
21
22
23 @XmlAccessorType(XmlAccessType.FIELD)
24 @XmlType(name = "", propOrder = {
25 "grSense",
26 "wn",
27 "omega",
28 "pb",
29 "vn",
30 "fn"
31 })
32 @XmlRootElement(name = "mappings")
33 public class Mappings {
34
35 @XmlElement(name = "gr_sense")
36 protected String grSense;
37 @XmlElement(required = true)
38 protected List<Wn> wn;
39 @XmlElement(required = true)
40 protected String omega;
41 @XmlElement(required = true)
42 protected String pb;
43 protected String vn;
44 protected String fn;
45
46
47
48
49
50
51
52
53
54 public String getGrSense() {
55 return grSense;
56 }
57
58
59
60
61
62
63
64
65
66 public void setGrSense(String value) {
67 this.grSense = value;
68 }
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92 public List<Wn> getWn() {
93 if (wn == null) {
94 wn = new ArrayList<Wn>();
95 }
96 return this.wn;
97 }
98
99
100
101
102
103
104
105
106
107 public String getOmega() {
108 return omega;
109 }
110
111
112
113
114
115
116
117
118
119 public void setOmega(String value) {
120 this.omega = value;
121 }
122
123
124
125
126
127
128
129
130
131 public String getPb() {
132 return pb;
133 }
134
135
136
137
138
139
140
141
142
143 public void setPb(String value) {
144 this.pb = value;
145 }
146
147
148
149
150
151
152
153
154
155 public String getVn() {
156 return vn;
157 }
158
159
160
161
162
163
164
165
166
167 public void setVn(String value) {
168 this.vn = value;
169 }
170
171
172
173
174
175
176
177
178
179 public String getFn() {
180 return fn;
181 }
182
183
184
185
186
187
188
189
190
191 public void setFn(String value) {
192 this.fn = value;
193 }
194
195 }