1
2
3
4
5
6
7
8
9 package org.openehealth.ipf.commons.xml.svrl;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlID;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlSchemaType;
20 import javax.xml.bind.annotation.XmlType;
21 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
22 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "", propOrder = {
48 "diagnosticReference",
49 "text"
50 })
51 @XmlRootElement(name = "successful-report")
52 public class SuccessfulReport {
53
54 @XmlElement(name = "diagnostic-reference")
55 protected List<DiagnosticReference> diagnosticReference;
56 @XmlElement(required = true)
57 protected String text;
58 @XmlAttribute(name = "id")
59 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
60 @XmlID
61 @XmlSchemaType(name = "ID")
62 protected String id;
63 @XmlAttribute(name = "location", required = true)
64 @XmlSchemaType(name = "anySimpleType")
65 protected String location;
66 @XmlAttribute(name = "test", required = true)
67 @XmlSchemaType(name = "anySimpleType")
68 protected String test;
69 @XmlAttribute(name = "role")
70 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
71 @XmlSchemaType(name = "NMTOKEN")
72 protected String role;
73 @XmlAttribute(name = "flag")
74 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
75 @XmlSchemaType(name = "NMTOKEN")
76 protected String flag;
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100 public List<DiagnosticReference> getDiagnosticReference() {
101 if (diagnosticReference == null) {
102 diagnosticReference = new ArrayList<>();
103 }
104 return this.diagnosticReference;
105 }
106
107
108
109
110
111
112
113
114
115 public String getText() {
116 return text;
117 }
118
119
120
121
122
123
124
125
126
127 public void setText(String value) {
128 this.text = value;
129 }
130
131
132
133
134
135
136
137
138
139 public String getId() {
140 return id;
141 }
142
143
144
145
146
147
148
149
150
151 public void setId(String value) {
152 this.id = value;
153 }
154
155
156
157
158
159
160
161
162
163 public String getLocation() {
164 return location;
165 }
166
167
168
169
170
171
172
173
174
175 public void setLocation(String value) {
176 this.location = value;
177 }
178
179
180
181
182
183
184
185
186
187 public String getTest() {
188 return test;
189 }
190
191
192
193
194
195
196
197
198
199 public void setTest(String value) {
200 this.test = value;
201 }
202
203
204
205
206
207
208
209
210
211 public String getRole() {
212 return role;
213 }
214
215
216
217
218
219
220
221
222
223 public void setRole(String value) {
224 this.role = value;
225 }
226
227
228
229
230
231
232
233
234
235 public String getFlag() {
236 return flag;
237 }
238
239
240
241
242
243
244
245
246
247 public void setFlag(String value) {
248 this.flag = value;
249 }
250
251 }