Class WeatherReport


  • @Domain(fields={"timeslot","temperature","windSpeed","windDirection","cloudCover"})
    public class WeatherReport
    extends Object
    A weather report instance that describes the weather data for one hour of the simulation
    Version:
    1.0 - 03/May/2011
    Author:
    Erik Onarheim, Josh Edeen
    • Constructor Detail

      • WeatherReport

        public WeatherReport​(int timeslot,
                             double temperature,
                             double windSpeed,
                             double windDirection,
                             double cloudCover)
      • WeatherReport

        @Deprecated
        @ChainedConstructor
        public WeatherReport​(Timeslot timeslot,
                             double temperature,
                             double windSpeed,
                             double windDirection,
                             double cloudCover)
        Deprecated.
        Constructor that uses timeslot is deprecated
    • Method Detail

      • getId

        public long getId()
      • getTimeslotIndex

        public int getTimeslotIndex()
      • getTemperature

        public double getTemperature()
      • getWindSpeed

        public double getWindSpeed()
      • getWindDirection

        public double getWindDirection()
      • getCloudCover

        public double getCloudCover()