View Javadoc

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