Package org.powertac.common
Class WeatherForecastPrediction
java.lang.Object
org.powertac.common.WeatherForecastPrediction
@Domain(fields={"forecastTime","temperature","windSpeed","windDirection","cloudCover"}) public class WeatherForecastPrediction extends Object
A weather forecast report instance that describes the weather data
- Version:
- 1.0 - 03/Jun/2011
- Author:
- Erik Onarheim, Josh Edeen
-
Constructor Summary
Constructors Constructor Description WeatherForecastPrediction(int time, double temperature, double windSpeed, double windDirection, double cloudCover) -
Method Summary
Modifier and Type Method Description doublegetCloudCover()intgetForecastTime()longgetId()doublegetTemperature()doublegetWindDirection()doublegetWindSpeed()
-
Constructor Details
-
WeatherForecastPrediction
public WeatherForecastPrediction(int time, double temperature, double windSpeed, double windDirection, double cloudCover)
-
-
Method Details
-
getId
public long getId() -
getForecastTime
public int getForecastTime() -
getTemperature
public double getTemperature() -
getWindSpeed
public double getWindSpeed() -
getWindDirection
public double getWindDirection() -
getCloudCover
public double getCloudCover()
-