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.CollapsedStringAdapter;
13 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
14
15
16
17
18
19 @XmlAccessorType(XmlAccessType.FIELD)
20 @XmlType(name = "")
21 @XmlRootElement(name = "inflection")
22 public class Inflection {
23
24 @XmlAttribute(name = "person")
25 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
26 protected String person;
27 @XmlAttribute(name = "tense")
28 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
29 protected String tense;
30 @XmlAttribute(name = "aspect")
31 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
32 protected String aspect;
33 @XmlAttribute(name = "voice")
34 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
35 protected String voice;
36 @XmlAttribute(name = "form")
37 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
38 protected String form;
39
40
41
42
43
44
45
46
47
48 public String getPerson() {
49 if (person == null) {
50 return "ns";
51 } else {
52 return person;
53 }
54 }
55
56
57
58
59
60
61
62
63
64 public void setPerson(String value) {
65 this.person = value;
66 }
67
68
69
70
71
72
73
74
75
76 public String getTense() {
77 if (tense == null) {
78 return "ns";
79 } else {
80 return tense;
81 }
82 }
83
84
85
86
87
88
89
90
91
92 public void setTense(String value) {
93 this.tense = value;
94 }
95
96
97
98
99
100
101
102
103
104 public String getAspect() {
105 if (aspect == null) {
106 return "ns";
107 } else {
108 return aspect;
109 }
110 }
111
112
113
114
115
116
117
118
119
120 public void setAspect(String value) {
121 this.aspect = value;
122 }
123
124
125
126
127
128
129
130
131
132 public String getVoice() {
133 if (voice == null) {
134 return "ns";
135 } else {
136 return voice;
137 }
138 }
139
140
141
142
143
144
145
146
147
148 public void setVoice(String value) {
149 this.voice = value;
150 }
151
152
153
154
155
156
157
158
159
160 public String getForm() {
161 if (form == null) {
162 return "ns";
163 } else {
164 return form;
165 }
166 }
167
168
169
170
171
172
173
174
175
176 public void setForm(String value) {
177 this.form = value;
178 }
179
180 }