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;
20 public class Main implements Serializable {
21 private static final long serialVersionUID = -7886213347552636533L;
22 private Number grnd_level;
23 private Number humidity;
24 private Number pressure;
25 private Number sea_level;
27 private Number temp_max;
28 private Number temp_min;
30 public Number getGrnd_level() {
31 return this.grnd_level;
34 public void setGrnd_level(final Number grnd_level) {
35 this.grnd_level = grnd_level;
38 public Number getHumidity(){
41 public void setHumidity(final Number humidity){
42 this.humidity = humidity;
44 public Number getPressure(){
47 public void setPressure(final Number pressure){
48 this.pressure = pressure;
51 public Number getSea_level() {
52 return this.sea_level;
55 public void setSea_level(final Number sea_level) {
56 this.sea_level = sea_level;
59 public Number getTemp(){
62 public void setTemp(final Number temp){
65 public Number getTemp_max(){
68 public void setTemp_max(final Number temp_max){
69 this.temp_max = temp_max;
71 public Number getTemp_min(){
74 public void setTemp_min(final Number temp_min){
75 this.temp_min = temp_min;
79 public String toString() {
80 final StringBuilder builder = new StringBuilder();
81 builder.append("Main [grnd_level=").append(this.grnd_level).append(", humidity=")
82 .append(this.humidity).append(", pressure=").append(this.pressure)
83 .append(", sea_level=").append(this.sea_level).append(", temp=").append(this.temp)
84 .append(", temp_max=").append(this.temp_max).append(", temp_min=")
85 .append(this.temp_min).append("]");
86 return builder.toString();