1
2
3
4
5
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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
64
65
66
67
68
69
70 public XMLGregorianCalendar getDate() {
71 return date;
72 }
73
74
75
76
77
78
79
80
81
82 public void setDate(XMLGregorianCalendar value) {
83 this.date = value;
84 }
85
86
87
88
89
90 public short getWeatherID() {
91 return weatherID;
92 }
93
94
95
96
97
98 public void setWeatherID(short value) {
99 this.weatherID = value;
100 }
101
102
103
104
105
106
107
108
109
110 public String getDesciption() {
111 return desciption;
112 }
113
114
115
116
117
118
119
120
121
122 public void setDesciption(String value) {
123 this.desciption = value;
124 }
125
126
127
128
129
130
131
132
133
134 public Temp getTemperatures() {
135 return temperatures;
136 }
137
138
139
140
141
142
143
144
145
146 public void setTemperatures(Temp value) {
147 this.temperatures = value;
148 }
149
150
151
152
153
154
155
156
157
158 public POP getProbabilityOfPrecipiation() {
159 return probabilityOfPrecipiation;
160 }
161
162
163
164
165
166
167
168
169
170 public void setProbabilityOfPrecipiation(POP value) {
171 this.probabilityOfPrecipiation = value;
172 }
173
174 }