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;
19 import java.util.List;
21 public class Forecast implements Serializable {
22 private static final long serialVersionUID = 5095443678019686190L;
26 private List<name.gumartinm.weather.information.model.forecastweather.List> list;
27 private Number message;
29 public City getCity(){
32 public void setCity(final City city){
35 public Number getCnt(){
38 public void setCnt(final Number cnt){
42 public Number getCod() {
46 public void setCod(final Number cod) {
50 public List<name.gumartinm.weather.information.model.forecastweather.List> getList() {
54 public void setList(final List<name.gumartinm.weather.information.model.forecastweather.List> list) {
57 public Number getMessage(){
60 public void setMessage(final Number message){
61 this.message = message;
65 public String toString() {
66 final StringBuilder builder = new StringBuilder();
67 builder.append("Forecast [city=").append(this.city).append(", cnt=")
68 .append(this.cnt).append(", cod=").append(this.cod).append(", list=")
69 .append(this.list).append(", message=").append(this.message).append("]");
70 return builder.toString();