Class Weather

java.lang.Object
com.github.prominence.openweathermap.api.model.weather.Weather

public class Weather extends Object
Represents weather information.
  • Constructor Details

    • Weather

      public Weather()
  • Method Details

    • getCalculationTime

      public LocalDateTime getCalculationTime()
      Gets calculated on.
      Returns:
      the calculated on
    • setCalculationTime

      public void setCalculationTime(LocalDateTime calculationTime)
      Sets calculated on.
      Parameters:
      calculationTime - the calculated on
    • getWeatherState

      public WeatherState getWeatherState()
      Gets weather state.
      Returns:
      the weather state
    • setWeatherState

      public void setWeatherState(WeatherState weatherState)
      Sets weather state.
      Parameters:
      weatherState - the weather state
    • getTemperature

      public Temperature getTemperature()
      Gets temperature.
      Returns:
      the temperature
    • setTemperature

      public void setTemperature(Temperature temperature)
      Sets temperature.
      Parameters:
      temperature - the temperature
    • getAtmosphericPressure

      public AtmosphericPressure getAtmosphericPressure()
      Gets atmospheric pressure.
      Returns:
      the atmospheric pressure
    • setAtmosphericPressure

      public void setAtmosphericPressure(AtmosphericPressure atmosphericPressure)
      Sets atmospheric pressure.
      Parameters:
      atmosphericPressure - the atmospheric pressure
    • getHumidity

      public Humidity getHumidity()
      Gets humidity.
      Returns:
      the humidity
    • setHumidity

      public void setHumidity(Humidity humidity)
      Sets humidity.
      Parameters:
      humidity - the humidity
    • getWind

      public Wind getWind()
      Gets wind.
      Returns:
      the wind
    • setWind

      public void setWind(Wind wind)
      Sets wind.
      Parameters:
      wind - the wind
    • getRain

      public Rain getRain()
      Gets rain.
      Returns:
      the rain
    • setRain

      public void setRain(Rain rain)
      Sets rain.
      Parameters:
      rain - the rain
    • getSnow

      public Snow getSnow()
      Gets snow.
      Returns:
      the snow
    • setSnow

      public void setSnow(Snow snow)
      Sets snow.
      Parameters:
      snow - the snow
    • getClouds

      public Clouds getClouds()
      Gets clouds.
      Returns:
      the clouds
    • setClouds

      public void setClouds(Clouds clouds)
      Sets clouds.
      Parameters:
      clouds - the clouds
    • getLocation

      public Location getLocation()
      Gets location.
      Returns:
      the location
    • setLocation

      public void setLocation(Location location)
      Sets location.
      Parameters:
      location - the location
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object