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.adapters.NormalizedStringAdapter;
17 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18
19
20
21
22
23 @XmlAccessorType(XmlAccessType.FIELD)
24 @XmlType(name = "")
25 @XmlRootElement(name = "WORD_META")
26 public class WORDMETA {
27
28 @XmlAttribute(name = "authors", required = true)
29 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
30 protected String authors;
31 @XmlAttribute(name = "sample_score")
32 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
33 protected String sampleScore;
34
35
36
37
38
39
40
41
42
43 public String getAuthors() {
44 return authors;
45 }
46
47
48
49
50
51
52
53
54
55 public void setAuthors(String value) {
56 this.authors = value;
57 }
58
59
60
61
62
63
64
65
66
67 public String getSampleScore() {
68 return sampleScore;
69 }
70
71
72
73
74
75
76
77
78
79 public void setSampleScore(String value) {
80 this.sampleScore = value;
81 }
82
83 }