1
2
3
4
5
6
7
8
9 package eu.fbk.dkm.pikes.resources.ontonotes.frames;
10
11 import javax.xml.bind.annotation.*;
12 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
13 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
14 import java.util.ArrayList;
15 import java.util.List;
16
17
18
19
20
21 @XmlAccessorType(XmlAccessType.FIELD)
22 @XmlType(name = "", propOrder = {
23 "vnrole"
24 })
25 @XmlRootElement(name = "role")
26 public class Role {
27
28 @XmlAttribute(name = "n", required = true)
29 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
30 protected String n;
31 @XmlAttribute(name = "f")
32 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
33 protected String f;
34 @XmlAttribute(name = "descr", required = true)
35 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
36 protected String descr;
37 @XmlAttribute(name = "source")
38 @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
39 protected String source;
40 protected List<Vnrole> vnrole;
41
42
43
44
45
46
47
48
49
50 public String getN() {
51 return n;
52 }
53
54
55
56
57
58
59
60
61
62 public void setN(String value) {
63 this.n = value;
64 }
65
66
67
68
69
70
71
72
73
74 public String getF() {
75 return f;
76 }
77
78
79
80
81
82
83
84
85
86 public void setF(String value) {
87 this.f = value;
88 }
89
90
91
92
93
94
95
96
97
98 public String getDescr() {
99 return descr;
100 }
101
102
103
104
105
106
107
108
109
110 public void setDescr(String value) {
111 this.descr = value;
112 }
113
114
115
116
117
118
119
120
121
122 public String getSource() {
123 return source;
124 }
125
126
127
128
129
130
131
132
133
134 public void setSource(String value) {
135 this.source = value;
136 }
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160 public List<Vnrole> getVnrole() {
161 if (vnrole == null) {
162 vnrole = new ArrayList<Vnrole>();
163 }
164 return this.vnrole;
165 }
166
167 }