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.currentweather;
18 import java.io.Serializable;
21 public class Sys implements Serializable {
22 private static final long serialVersionUID = 5333083785731053139L;
23 private String country;
24 private Number message;
25 private Number sunrise;
26 private Number sunset;
28 public String getCountry(){
31 public void setCountry(final String country){
32 this.country = country;
34 public Number getMessage(){
37 public void setMessage(final Number message){
38 this.message = message;
40 public Number getSunrise(){
43 public void setSunrise(final Number sunrise){
44 this.sunrise = sunrise;
46 public Number getSunset(){
49 public void setSunset(final Number sunset){
54 public String toString() {
55 final StringBuilder builder = new StringBuilder();
56 builder.append("Sys [country=").append(this.country).append(", message=")
57 .append(this.message).append(", sunrise=").append(this.sunrise).append(", sunset=")
58 .append(this.sunset).append("]");
59 return builder.toString();