View Javadoc

1   /*
2    * $Id: ForecastReturn.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 ForecastReturn complex type.
21   *
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   *
24   * <pre>
25   * &lt;complexType name="ForecastReturn">
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="ForecastResult" type="{http://ws.cdyne.com/WeatherWS/}ArrayOfForecast" minOccurs="0"/>
35   *       &lt;/sequence>
36   *     &lt;/restriction>
37   *   &lt;/complexContent>
38   * &lt;/complexType>
39   * </pre>
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       * Gets the value of the success property.
69       *
70       */
71      public boolean isSuccess() {
72          return success;
73      }
74  
75      /**
76       * Sets the value of the success property.
77       *
78       */
79      public void setSuccess(boolean value) {
80          this.success = value;
81      }
82  
83      /**
84       * Gets the value of the responseText property.
85       *
86       * @return
87       *     possible object is
88       *     {@link String }
89       *
90       */
91      public String getResponseText() {
92          return responseText;
93      }
94  
95      /**
96       * Sets the value of the responseText property.
97       *
98       * @param value
99       *     allowed object is
100      *     {@link String }
101      *
102      */
103     public void setResponseText(String value) {
104         this.responseText = value;
105     }
106 
107     /**
108      * Gets the value of the state property.
109      *
110      * @return
111      *     possible object is
112      *     {@link String }
113      *
114      */
115     public String getState() {
116         return state;
117     }
118 
119     /**
120      * Sets the value of the state property.
121      *
122      * @param value
123      *     allowed object is
124      *     {@link String }
125      *
126      */
127     public void setState(String value) {
128         this.state = value;
129     }
130 
131     /**
132      * Gets the value of the city property.
133      *
134      * @return
135      *     possible object is
136      *     {@link String }
137      *
138      */
139     public String getCity() {
140         return city;
141     }
142 
143     /**
144      * Sets the value of the city property.
145      *
146      * @param value
147      *     allowed object is
148      *     {@link String }
149      *
150      */
151     public void setCity(String value) {
152         this.city = value;
153     }
154 
155     /**
156      * Gets the value of the weatherStationCity property.
157      *
158      * @return
159      *     possible object is
160      *     {@link String }
161      *
162      */
163     public String getWeatherStationCity() {
164         return weatherStationCity;
165     }
166 
167     /**
168      * Sets the value of the weatherStationCity property.
169      *
170      * @param value
171      *     allowed object is
172      *     {@link String }
173      *
174      */
175     public void setWeatherStationCity(String value) {
176         this.weatherStationCity = value;
177     }
178 
179     /**
180      * Gets the value of the forecastResult property.
181      *
182      * @return
183      *     possible object is
184      *     {@link ArrayOfForecast }
185      *
186      */
187     public ArrayOfForecast getForecastResult() {
188         return forecastResult;
189     }
190 
191     /**
192      * Sets the value of the forecastResult property.
193      *
194      * @param value
195      *     allowed object is
196      *     {@link ArrayOfForecast }
197      *
198      */
199     public void setForecastResult(ArrayOfForecast value) {
200         this.forecastResult = value;
201     }
202 
203 }