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.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.bind.annotation.XmlValue;
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 "value"
27 })
28 @XmlRootElement(name = "wn")
29 public class Wn {
30
31 @XmlAttribute(name = "version", required = true)
32 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
33 protected String version;
34 @XmlAttribute(name = "lemma")
35 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
36 protected String lemma;
37 @XmlValue
38 protected String value;
39
40
41
42
43
44
45
46
47
48 public String getVersion() {
49 return version;
50 }
51
52
53
54
55
56
57
58
59
60 public void setVersion(String value) {
61 this.version = value;
62 }
63
64
65
66
67
68
69
70
71
72 public String getLemma() {
73 return lemma;
74 }
75
76
77
78
79
80
81
82
83
84 public void setLemma(String value) {
85 this.lemma = value;
86 }
87
88
89
90
91
92
93
94
95
96 public String getvalue() {
97 return value;
98 }
99
100
101
102
103
104
105
106
107
108 public void setvalue(String value) {
109 this.value = value;
110 }
111
112 }