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.XmlSchemaType;
13  import javax.xml.bind.annotation.XmlType;
14  import javax.xml.datatype.XMLGregorianCalendar;
15  
16  
17  /**
18   * <p>Java class for Forecast complex type.
19   *
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   *
22   * <pre>
23   * &lt;complexType name="Forecast">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;sequence>
27   *         &lt;element name="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
28   *         &lt;element name="WeatherID" type="{http://www.w3.org/2001/XMLSchema}short"/>
29   *         &lt;element name="Desciption" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
30   *         &lt;element name="Temperatures" type="{http://ws.cdyne.com/WeatherWS/}temp"/>
31   *         &lt;element name="ProbabilityOfPrecipiation" type="{http://ws.cdyne.com/WeatherWS/}POP"/>
32   *       &lt;/sequence>
33   *     &lt;/restriction>
34   *   &lt;/complexContent>
35   * &lt;/complexType>
36   * </pre>
37   *
38   *
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "Forecast", namespace = "http://ws.cdyne.com/WeatherWS/", propOrder = {
42      "date",
43      "weatherID",
44      "desciption",
45      "temperatures",
46      "probabilityOfPrecipiation"
47  })
48  public class Forecast {
49  
50      @XmlElement(name = "Date", namespace = "http://ws.cdyne.com/WeatherWS/", required = true)
51      @XmlSchemaType(name = "dateTime")
52      protected XMLGregorianCalendar date;
53      @XmlElement(name = "WeatherID", namespace = "http://ws.cdyne.com/WeatherWS/")
54      protected short weatherID;
55      @XmlElement(name = "Desciption", namespace = "http://ws.cdyne.com/WeatherWS/")
56      protected String desciption;
57      @XmlElement(name = "Temperatures", namespace = "http://ws.cdyne.com/WeatherWS/", required = true)
58      protected Temp temperatures;
59      @XmlElement(name = "ProbabilityOfPrecipiation", namespace = "http://ws.cdyne.com/WeatherWS/", required = true)
60      protected POP probabilityOfPrecipiation;
61  
62      /**
63       * Gets the value of the date property.
64       *
65       * @return
66       *     possible object is
67       *     {@link javax.xml.datatype.XMLGregorianCalendar }
68       *
69       */
70      public XMLGregorianCalendar getDate() {
71          return date;
72      }
73  
74      /**
75       * Sets the value of the date property.
76       *
77       * @param value
78       *     allowed object is
79       *     {@link javax.xml.datatype.XMLGregorianCalendar }
80       *
81       */
82      public void setDate(XMLGregorianCalendar value) {
83          this.date = value;
84      }
85  
86      /**
87       * Gets the value of the weatherID property.
88       *
89       */
90      public short getWeatherID() {
91          return weatherID;
92      }
93  
94      /**
95       * Sets the value of the weatherID property.
96       *
97       */
98      public void setWeatherID(short value) {
99          this.weatherID = value;
100     }
101 
102     /**
103      * Gets the value of the desciption property.
104      *
105      * @return
106      *     possible object is
107      *     {@link String }
108      *
109      */
110     public String getDesciption() {
111         return desciption;
112     }
113 
114     /**
115      * Sets the value of the desciption property.
116      *
117      * @param value
118      *     allowed object is
119      *     {@link String }
120      *
121      */
122     public void setDesciption(String value) {
123         this.desciption = value;
124     }
125 
126     /**
127      * Gets the value of the temperatures property.
128      *
129      * @return
130      *     possible object is
131      *     {@link Temp }
132      *
133      */
134     public Temp getTemperatures() {
135         return temperatures;
136     }
137 
138     /**
139      * Sets the value of the temperatures property.
140      *
141      * @param value
142      *     allowed object is
143      *     {@link Temp }
144      *
145      */
146     public void setTemperatures(Temp value) {
147         this.temperatures = value;
148     }
149 
150     /**
151      * Gets the value of the probabilityOfPrecipiation property.
152      *
153      * @return
154      *     possible object is
155      *     {@link POP }
156      *
157      */
158     public POP getProbabilityOfPrecipiation() {
159         return probabilityOfPrecipiation;
160     }
161 
162     /**
163      * Sets the value of the probabilityOfPrecipiation property.
164      *
165      * @param value
166      *     allowed object is
167      *     {@link POP }
168      *
169      */
170     public void setProbabilityOfPrecipiation(POP value) {
171         this.probabilityOfPrecipiation = value;
172     }
173 
174 }