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 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "ForecastReturn", namespace = "http://ws.cdyne.com/WeatherWS/", propOrder = {
41 "success",
42 "responseText",
43 "state",
44 "city",
45 "weatherStationCity",
46 "forecastResult"
47 })
48 public class ForecastReturn {
49
50 @XmlElement(name = "Success", namespace = "http://ws.cdyne.com/WeatherWS/")
51 protected boolean success;
52 @XmlElement(name = "ResponseText", namespace = "http://ws.cdyne.com/WeatherWS/")
53 protected String responseText;
54 @XmlElement(name = "State", namespace = "http://ws.cdyne.com/WeatherWS/")
55 protected String state;
56 @XmlElement(name = "City", namespace = "http://ws.cdyne.com/WeatherWS/")
57 protected String city;
58 @XmlElement(name = "WeatherStationCity", namespace = "http://ws.cdyne.com/WeatherWS/")
59 protected String weatherStationCity;
60 @XmlElement(name = "ForecastResult", namespace = "http://ws.cdyne.com/WeatherWS/")
61 protected ArrayOfForecast forecastResult;
62
63
64
65
66
67 public boolean isSuccess() {
68 return success;
69 }
70
71
72
73
74
75 public void setSuccess(boolean value) {
76 this.success = value;
77 }
78
79
80
81
82
83
84
85
86
87 public String getResponseText() {
88 return responseText;
89 }
90
91
92
93
94
95
96
97
98
99 public void setResponseText(String value) {
100 this.responseText = value;
101 }
102
103
104
105
106
107
108
109
110
111 public String getState() {
112 return state;
113 }
114
115
116
117
118
119
120
121
122
123 public void setState(String value) {
124 this.state = value;
125 }
126
127
128
129
130
131
132
133
134
135 public String getCity() {
136 return city;
137 }
138
139
140
141
142
143
144
145
146
147 public void setCity(String value) {
148 this.city = value;
149 }
150
151
152
153
154
155
156
157
158
159 public String getWeatherStationCity() {
160 return weatherStationCity;
161 }
162
163
164
165
166
167
168
169
170
171 public void setWeatherStationCity(String value) {
172 this.weatherStationCity = value;
173 }
174
175
176
177
178
179
180
181
182
183 public ArrayOfForecast getForecastResult() {
184 return forecastResult;
185 }
186
187
188
189
190
191
192
193
194
195 public void setForecastResult(ArrayOfForecast value) {
196 this.forecastResult = value;
197 }
198
199 }