View Javadoc

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