View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
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   * <p>Java class for WeatherReturn complex type.
17   *
18   * <p>The following schema fragment specifies the expected content contained within this class.
19   *
20   * <pre>
21   * &lt;complexType name="WeatherReturn">
22   *   &lt;complexContent>
23   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24   *       &lt;sequence>
25   *         &lt;element name="Success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
26   *         &lt;element name="ResponseText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
27   *         &lt;element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
28   *         &lt;element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
29   *         &lt;element name="WeatherStationCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
30   *         &lt;element name="WeatherID" type="{http://www.w3.org/2001/XMLSchema}short"/>
31   *         &lt;element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
32   *         &lt;element name="Temperature" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33   *         &lt;element name="RelativeHumidity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34   *         &lt;element name="Wind" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35   *         &lt;element name="Pressure" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36   *         &lt;element name="Visibility" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
37   *         &lt;element name="WindChill" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38   *         &lt;element name="Remarks" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39   *       &lt;/sequence>
40   *     &lt;/restriction>
41   *   &lt;/complexContent>
42   * &lt;/complexType>
43   * </pre>
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       * Gets the value of the success property.
97       *
98       */
99      public boolean isSuccess() {
100         return success;
101     }
102 
103     /**
104      * Sets the value of the success property.
105      *
106      */
107     public void setSuccess(boolean value) {
108         this.success = value;
109     }
110 
111     /**
112      * Gets the value of the responseText property.
113      *
114      * @return
115      *     possible object is
116      *     {@link String }
117      *
118      */
119     public String getResponseText() {
120         return responseText;
121     }
122 
123     /**
124      * Sets the value of the responseText property.
125      *
126      * @param value
127      *     allowed object is
128      *     {@link String }
129      *
130      */
131     public void setResponseText(String value) {
132         this.responseText = value;
133     }
134 
135     /**
136      * Gets the value of the state property.
137      *
138      * @return
139      *     possible object is
140      *     {@link String }
141      *
142      */
143     public String getState() {
144         return state;
145     }
146 
147     /**
148      * Sets the value of the state property.
149      *
150      * @param value
151      *     allowed object is
152      *     {@link String }
153      *
154      */
155     public void setState(String value) {
156         this.state = value;
157     }
158 
159     /**
160      * Gets the value of the city property.
161      *
162      * @return
163      *     possible object is
164      *     {@link String }
165      *
166      */
167     public String getCity() {
168         return city;
169     }
170 
171     /**
172      * Sets the value of the city property.
173      *
174      * @param value
175      *     allowed object is
176      *     {@link String }
177      *
178      */
179     public void setCity(String value) {
180         this.city = value;
181     }
182 
183     /**
184      * Gets the value of the weatherStationCity property.
185      *
186      * @return
187      *     possible object is
188      *     {@link String }
189      *
190      */
191     public String getWeatherStationCity() {
192         return weatherStationCity;
193     }
194 
195     /**
196      * Sets the value of the weatherStationCity property.
197      *
198      * @param value
199      *     allowed object is
200      *     {@link String }
201      *
202      */
203     public void setWeatherStationCity(String value) {
204         this.weatherStationCity = value;
205     }
206 
207     /**
208      * Gets the value of the weatherID property.
209      *
210      */
211     public short getWeatherID() {
212         return weatherID;
213     }
214 
215     /**
216      * Sets the value of the weatherID property.
217      *
218      */
219     public void setWeatherID(short value) {
220         this.weatherID = value;
221     }
222 
223     /**
224      * Gets the value of the description property.
225      *
226      * @return
227      *     possible object is
228      *     {@link String }
229      *
230      */
231     public String getDescription() {
232         return description;
233     }
234 
235     /**
236      * Sets the value of the description property.
237      *
238      * @param value
239      *     allowed object is
240      *     {@link String }
241      *
242      */
243     public void setDescription(String value) {
244         this.description = value;
245     }
246 
247     /**
248      * Gets the value of the temperature property.
249      *
250      * @return
251      *     possible object is
252      *     {@link String }
253      *
254      */
255     public String getTemperature() {
256         return temperature;
257     }
258 
259     /**
260      * Sets the value of the temperature property.
261      *
262      * @param value
263      *     allowed object is
264      *     {@link String }
265      *
266      */
267     public void setTemperature(String value) {
268         this.temperature = value;
269     }
270 
271     /**
272      * Gets the value of the relativeHumidity property.
273      *
274      * @return
275      *     possible object is
276      *     {@link String }
277      *
278      */
279     public String getRelativeHumidity() {
280         return relativeHumidity;
281     }
282 
283     /**
284      * Sets the value of the relativeHumidity property.
285      *
286      * @param value
287      *     allowed object is
288      *     {@link String }
289      *
290      */
291     public void setRelativeHumidity(String value) {
292         this.relativeHumidity = value;
293     }
294 
295     /**
296      * Gets the value of the wind property.
297      *
298      * @return
299      *     possible object is
300      *     {@link String }
301      *
302      */
303     public String getWind() {
304         return wind;
305     }
306 
307     /**
308      * Sets the value of the wind property.
309      *
310      * @param value
311      *     allowed object is
312      *     {@link String }
313      *
314      */
315     public void setWind(String value) {
316         this.wind = value;
317     }
318 
319     /**
320      * Gets the value of the pressure property.
321      *
322      * @return
323      *     possible object is
324      *     {@link String }
325      *
326      */
327     public String getPressure() {
328         return pressure;
329     }
330 
331     /**
332      * Sets the value of the pressure property.
333      *
334      * @param value
335      *     allowed object is
336      *     {@link String }
337      *
338      */
339     public void setPressure(String value) {
340         this.pressure = value;
341     }
342 
343     /**
344      * Gets the value of the visibility property.
345      *
346      * @return
347      *     possible object is
348      *     {@link String }
349      *
350      */
351     public String getVisibility() {
352         return visibility;
353     }
354 
355     /**
356      * Sets the value of the visibility property.
357      *
358      * @param value
359      *     allowed object is
360      *     {@link String }
361      *
362      */
363     public void setVisibility(String value) {
364         this.visibility = value;
365     }
366 
367     /**
368      * Gets the value of the windChill property.
369      *
370      * @return
371      *     possible object is
372      *     {@link String }
373      *
374      */
375     public String getWindChill() {
376         return windChill;
377     }
378 
379     /**
380      * Sets the value of the windChill property.
381      *
382      * @param value
383      *     allowed object is
384      *     {@link String }
385      *
386      */
387     public void setWindChill(String value) {
388         this.windChill = value;
389     }
390 
391     /**
392      * Gets the value of the remarks property.
393      *
394      * @return
395      *     possible object is
396      *     {@link String }
397      *
398      */
399     public String getRemarks() {
400         return remarks;
401     }
402 
403     /**
404      * Sets the value of the remarks property.
405      *
406      * @param value
407      *     allowed object is
408      *     {@link String }
409      *
410      */
411     public void setRemarks(String value) {
412         this.remarks = value;
413     }
414 
415 }