Class Weather
java.lang.Object
com.github.prominence.openweathermap.api.model.weather.Weather
Represents weather information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets atmospheric pressure.Gets calculated on.Gets clouds.Gets humidity.Gets location.getRain()Gets rain.getSnow()Gets snow.Gets temperature.Gets weather state.getWind()Gets wind.inthashCode()voidsetAtmosphericPressure(AtmosphericPressure atmosphericPressure) Sets atmospheric pressure.voidsetCalculationTime(LocalDateTime calculationTime) Sets calculated on.voidSets clouds.voidsetHumidity(Humidity humidity) Sets humidity.voidsetLocation(Location location) Sets location.voidSets rain.voidSets snow.voidsetTemperature(Temperature temperature) Sets temperature.voidsetWeatherState(WeatherState weatherState) Sets weather state.voidSets wind.toString()
-
Constructor Details
-
Weather
public Weather()
-
-
Method Details
-
getCalculationTime
-
setCalculationTime
Sets calculated on.- Parameters:
calculationTime- the calculated on
-
getWeatherState
-
setWeatherState
Sets weather state.- Parameters:
weatherState- the weather state
-
getTemperature
-
setTemperature
Sets temperature.- Parameters:
temperature- the temperature
-
getAtmosphericPressure
Gets atmospheric pressure.- Returns:
- the atmospheric pressure
-
setAtmosphericPressure
Sets atmospheric pressure.- Parameters:
atmosphericPressure- the atmospheric pressure
-
getHumidity
-
setHumidity
-
getWind
-
setWind
-
getRain
-
setRain
-
getSnow
-
setSnow
-
getClouds
-
setClouds
-
getLocation
-
setLocation
-
equals
-
hashCode
-
toString
-