2 * Copyright 2014 Gustavo Martin Morcuende
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package name.gumartinm.weather.information.model.forecastweather;
18 import java.io.Serializable;
21 public class List implements Serializable {
22 private static final long serialVersionUID = -1322511710940950980L;
23 private Number clouds;
26 private Number humidity;
27 private Number pressure;
32 private java.util.List<Weather> weather;
34 public Number getClouds(){
37 public void setClouds(final Number clouds){
40 public Number getDeg(){
43 public void setDeg(final Number deg){
46 public Number getDt(){
49 public void setDt(final Number dt){
52 public Number getHumidity(){
55 public void setHumidity(final Number humidity){
56 this.humidity = humidity;
58 public Number getPressure(){
61 public void setPressure(final Number pressure){
62 this.pressure = pressure;
64 public Number getRain(){
67 public void setRain(final Number rain){
70 public Number getSnow() {
73 public void setSnow(final Number snow) {
76 public Number getSpeed(){
79 public void setSpeed(final Number speed){
82 public Temp getTemp(){
85 public void setTemp(final Temp temp){
89 public java.util.List<Weather> getWeather() {
93 public void setWeather(final java.util.List<Weather> weather) {
94 this.weather = weather;
98 public String toString() {
99 final StringBuilder builder = new StringBuilder();
100 builder.append("List [clouds=").append(this.clouds).append(", deg=").append(this.deg)
101 .append(", dt=").append(this.dt).append(", humidity=").append(this.humidity)
102 .append(", pressure=").append(this.pressure).append(", rain=").append(this.rain)
103 .append(", snow=").append(this.snow).append(", speed=").append(this.speed)
104 .append(", temp=").append(this.temp).append(", weather=").append(this.weather)
106 return builder.toString();