1
2
3
4
5
6
7
8 package eu.fbk.dkm.premon.premonitor.propbank;
9
10 import javax.xml.bind.annotation.*;
11 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13
14
15
16
17 @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "inflection") public class Inflection {
18
19 @XmlAttribute(name = "person") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String person;
20 @XmlAttribute(name = "tense") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String tense;
21 @XmlAttribute(name = "aspect") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String aspect;
22 @XmlAttribute(name = "voice") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String voice;
23 @XmlAttribute(name = "form") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String form;
24
25
26
27
28
29
30
31 public String getPerson() {
32 if (person == null) {
33 return "ns";
34 } else {
35 return person;
36 }
37 }
38
39
40
41
42
43
44
45 public void setPerson(String value) {
46 this.person = value;
47 }
48
49
50
51
52
53
54
55 public String getTense() {
56 if (tense == null) {
57 return "ns";
58 } else {
59 return tense;
60 }
61 }
62
63
64
65
66
67
68
69 public void setTense(String value) {
70 this.tense = value;
71 }
72
73
74
75
76
77
78
79 public String getAspect() {
80 if (aspect == null) {
81 return "ns";
82 } else {
83 return aspect;
84 }
85 }
86
87
88
89
90
91
92
93 public void setAspect(String value) {
94 this.aspect = value;
95 }
96
97
98
99
100
101
102
103 public String getVoice() {
104 if (voice == null) {
105 return "ns";
106 } else {
107 return voice;
108 }
109 }
110
111
112
113
114
115
116
117 public void setVoice(String value) {
118 this.voice = value;
119 }
120
121
122
123
124
125
126
127 public String getForm() {
128 if (form == null) {
129 return "ns";
130 } else {
131 return form;
132 }
133 }
134
135
136
137
138
139
140
141 public void setForm(String value) {
142 this.form = value;
143 }
144
145 }