1
2
3
4
5
6
7
8
9
10
11 package org.mule.cxf.weatherservice.myweather;
12
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name = "WeatherReturn", namespace = "http://ws.cdyne.com/WeatherWS/", propOrder = {
53 "success",
54 "responseText",
55 "state",
56 "city",
57 "weatherStationCity",
58 "weatherID",
59 "description",
60 "temperature",
61 "relativeHumidity",
62 "wind",
63 "pressure",
64 "visibility",
65 "windChill",
66 "remarks"
67 })
68 public class WeatherReturn {
69
70 @XmlElement(name = "Success", namespace = "http://ws.cdyne.com/WeatherWS/")
71 protected boolean success;
72 @XmlElement(name = "ResponseText", namespace = "http://ws.cdyne.com/WeatherWS/")
73 protected String responseText;
74 @XmlElement(name = "State", namespace = "http://ws.cdyne.com/WeatherWS/")
75 protected String state;
76 @XmlElement(name = "City", namespace = "http://ws.cdyne.com/WeatherWS/")
77 protected String city;
78 @XmlElement(name = "WeatherStationCity", namespace = "http://ws.cdyne.com/WeatherWS/")
79 protected String weatherStationCity;
80 @XmlElement(name = "WeatherID", namespace = "http://ws.cdyne.com/WeatherWS/")
81 protected short weatherID;
82 @XmlElement(name = "Description", namespace = "http://ws.cdyne.com/WeatherWS/")
83 protected String description;
84 @XmlElement(name = "Temperature", namespace = "http://ws.cdyne.com/WeatherWS/")
85 protected String temperature;
86 @XmlElement(name = "RelativeHumidity", namespace = "http://ws.cdyne.com/WeatherWS/")
87 protected String relativeHumidity;
88 @XmlElement(name = "Wind", namespace = "http://ws.cdyne.com/WeatherWS/")
89 protected String wind;
90 @XmlElement(name = "Pressure", namespace = "http://ws.cdyne.com/WeatherWS/")
91 protected String pressure;
92 @XmlElement(name = "Visibility", namespace = "http://ws.cdyne.com/WeatherWS/")
93 protected String visibility;
94 @XmlElement(name = "WindChill", namespace = "http://ws.cdyne.com/WeatherWS/")
95 protected String windChill;
96 @XmlElement(name = "Remarks", namespace = "http://ws.cdyne.com/WeatherWS/")
97 protected String remarks;
98
99
100
101
102
103 public boolean isSuccess() {
104 return success;
105 }
106
107
108
109
110
111 public void setSuccess(boolean value) {
112 this.success = value;
113 }
114
115
116
117
118
119
120
121
122
123 public String getResponseText() {
124 return responseText;
125 }
126
127
128
129
130
131
132
133
134
135 public void setResponseText(String value) {
136 this.responseText = value;
137 }
138
139
140
141
142
143
144
145
146
147 public String getState() {
148 return state;
149 }
150
151
152
153
154
155
156
157
158
159 public void setState(String value) {
160 this.state = value;
161 }
162
163
164
165
166
167
168
169
170
171 public String getCity() {
172 return city;
173 }
174
175
176
177
178
179
180
181
182
183 public void setCity(String value) {
184 this.city = value;
185 }
186
187
188
189
190
191
192
193
194
195 public String getWeatherStationCity() {
196 return weatherStationCity;
197 }
198
199
200
201
202
203
204
205
206
207 public void setWeatherStationCity(String value) {
208 this.weatherStationCity = value;
209 }
210
211
212
213
214
215 public short getWeatherID() {
216 return weatherID;
217 }
218
219
220
221
222
223 public void setWeatherID(short value) {
224 this.weatherID = value;
225 }
226
227
228
229
230
231
232
233
234
235 public String getDescription() {
236 return description;
237 }
238
239
240
241
242
243
244
245
246
247 public void setDescription(String value) {
248 this.description = value;
249 }
250
251
252
253
254
255
256
257
258
259 public String getTemperature() {
260 return temperature;
261 }
262
263
264
265
266
267
268
269
270
271 public void setTemperature(String value) {
272 this.temperature = value;
273 }
274
275
276
277
278
279
280
281
282
283 public String getRelativeHumidity() {
284 return relativeHumidity;
285 }
286
287
288
289
290
291
292
293
294
295 public void setRelativeHumidity(String value) {
296 this.relativeHumidity = value;
297 }
298
299
300
301
302
303
304
305
306
307 public String getWind() {
308 return wind;
309 }
310
311
312
313
314
315
316
317
318
319 public void setWind(String value) {
320 this.wind = value;
321 }
322
323
324
325
326
327
328
329
330
331 public String getPressure() {
332 return pressure;
333 }
334
335
336
337
338
339
340
341
342
343 public void setPressure(String value) {
344 this.pressure = value;
345 }
346
347
348
349
350
351
352
353
354
355 public String getVisibility() {
356 return visibility;
357 }
358
359
360
361
362
363
364
365
366
367 public void setVisibility(String value) {
368 this.visibility = value;
369 }
370
371
372
373
374
375
376
377
378
379 public String getWindChill() {
380 return windChill;
381 }
382
383
384
385
386
387
388
389
390
391 public void setWindChill(String value) {
392 this.windChill = value;
393 }
394
395
396
397
398
399
400
401
402
403 public String getRemarks() {
404 return remarks;
405 }
406
407
408
409
410
411
412
413
414
415 public void setRemarks(String value) {
416 this.remarks = value;
417 }
418
419 }