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