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