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