001/* 002 * Copyright 2010 Marc Wick, geonames.org 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 */ 017package org.geonames; 018 019import java.util.Date; 020 021/** 022 * @author marc 023 * @since 25.11.2010 024 * 025 */ 026public class WeatherObservation { 027 private String observation; 028 private Date observationTime; 029 private String stationName; 030 private String icaoCode; 031 private String countryCode; 032 private Integer elevation; 033 private double latitude; 034 private double longitude; 035 private double temperature; 036 private double dewPoint; 037 private double humidity; 038 private String clouds; 039 private String weatherCondition; 040 private String windSpeed; 041 042 /** 043 * @return the observation 044 */ 045 public String getObservation() { 046 return observation; 047 } 048 049 /** 050 * @param observation 051 * the observation to set 052 */ 053 public void setObservation(String observation) { 054 this.observation = observation; 055 } 056 057 /** 058 * @return the observationTime 059 */ 060 public Date getObservationTime() { 061 return observationTime; 062 } 063 064 /** 065 * @param observationTime 066 * the observationTime to set 067 */ 068 public void setObservationTime(Date observationTime) { 069 this.observationTime = observationTime; 070 } 071 072 /** 073 * @return the stationName 074 */ 075 public String getStationName() { 076 return stationName; 077 } 078 079 /** 080 * @param stationName 081 * the stationName to set 082 */ 083 public void setStationName(String stationName) { 084 this.stationName = stationName; 085 } 086 087 /** 088 * @return the icaoCode 089 */ 090 public String getIcaoCode() { 091 return icaoCode; 092 } 093 094 /** 095 * @param icaoCode 096 * the icaoCode to set 097 */ 098 public void setIcaoCode(String icaoCode) { 099 this.icaoCode = icaoCode; 100 } 101 102 /** 103 * @return the countryCode 104 */ 105 public String getCountryCode() { 106 return countryCode; 107 } 108 109 /** 110 * @param countryCode 111 * the countryCode to set 112 */ 113 public void setCountryCode(String countryCode) { 114 this.countryCode = countryCode; 115 } 116 117 /** 118 * @return the elevation 119 */ 120 public Integer getElevation() { 121 return elevation; 122 } 123 124 /** 125 * @param elevation 126 * the elevation to set 127 */ 128 public void setElevation(Integer elevation) { 129 this.elevation = elevation; 130 } 131 132 /** 133 * @return the latitude 134 */ 135 public double getLatitude() { 136 return latitude; 137 } 138 139 /** 140 * @param latitude 141 * the latitude to set 142 */ 143 public void setLatitude(double latitude) { 144 this.latitude = latitude; 145 } 146 147 /** 148 * @return the longitude 149 */ 150 public double getLongitude() { 151 return longitude; 152 } 153 154 /** 155 * @param longitude 156 * the longitude to set 157 */ 158 public void setLongitude(double longitude) { 159 this.longitude = longitude; 160 } 161 162 /** 163 * @return the temperature 164 */ 165 public double getTemperature() { 166 return temperature; 167 } 168 169 /** 170 * @param temperature 171 * the temperature to set 172 */ 173 public void setTemperature(double temperature) { 174 this.temperature = temperature; 175 } 176 177 /** 178 * @return the dewPoint 179 */ 180 public double getDewPoint() { 181 return dewPoint; 182 } 183 184 /** 185 * @param dewPoint 186 * the dewPoint to set 187 */ 188 public void setDewPoint(double dewPoint) { 189 this.dewPoint = dewPoint; 190 } 191 192 /** 193 * @return the humidity 194 */ 195 public double getHumidity() { 196 return humidity; 197 } 198 199 /** 200 * @param humidity 201 * the humidity to set 202 */ 203 public void setHumidity(double humidity) { 204 this.humidity = humidity; 205 } 206 207 /** 208 * @return the clouds 209 */ 210 public String getClouds() { 211 return clouds; 212 } 213 214 /** 215 * @param clouds 216 * the clouds to set 217 */ 218 public void setClouds(String clouds) { 219 this.clouds = clouds; 220 } 221 222 /** 223 * @return the weatherCondition 224 */ 225 public String getWeatherCondition() { 226 return weatherCondition; 227 } 228 229 /** 230 * @param weatherCondition 231 * the weatherCondition to set 232 */ 233 public void setWeatherCondition(String weatherCondition) { 234 this.weatherCondition = weatherCondition; 235 } 236 237 /** 238 * @return the windSpeed 239 */ 240 public String getWindSpeed() { 241 return windSpeed; 242 } 243 244 /** 245 * @param windSpeed 246 * the windSpeed to set 247 */ 248 public void setWindSpeed(String windSpeed) { 249 this.windSpeed = windSpeed; 250 } 251 252}