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