Class TimeBasedWeatherValueFactory
java.lang.Object
edu.ie3.datamodel.io.factory.Factory<V,D,TimeBasedValue<V>>
edu.ie3.datamodel.io.factory.timeseries.TimeBasedValueFactory<TimeBasedWeatherValueData,WeatherValue>
edu.ie3.datamodel.io.factory.timeseries.TimeBasedWeatherValueFactory
- Direct Known Subclasses:
CosmoTimeBasedWeatherValueFactory
,IconTimeBasedWeatherValueFactory
public abstract class TimeBasedWeatherValueFactory
extends TimeBasedValueFactory<TimeBasedWeatherValueData,WeatherValue>
Abstract factory to handle the conversion from "flat" field to value mapping onto actual
TimeBasedValueFactory
with WeatherValue
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
TimeBasedWeatherValueFactory
(edu.ie3.util.TimeUtil timeUtil) protected
TimeBasedWeatherValueFactory
(String timePattern) -
Method Summary
Modifier and TypeMethodDescriptionReturn the field name for the coordinate idabstract String
Return the field name for the date timeMethods inherited from class edu.ie3.datamodel.io.factory.Factory
buildModel, expandSet, get, getFields, getFieldsString, getSupportedClasses, newSet, validateParameters
-
Field Details
-
UUID
- See Also:
-
TIME
- See Also:
-
COORDINATE_ID
- See Also:
-
timeUtil
protected final edu.ie3.util.TimeUtil timeUtil
-
-
Constructor Details
-
TimeBasedWeatherValueFactory
protected TimeBasedWeatherValueFactory() -
TimeBasedWeatherValueFactory
-
TimeBasedWeatherValueFactory
protected TimeBasedWeatherValueFactory(edu.ie3.util.TimeUtil timeUtil)
-
-
Method Details
-
getCoordinateIdFieldString
Return the field name for the coordinate id- Returns:
- the field name for the coordinate id
-
getTimeFieldString
Return the field name for the date time- Returns:
- the field name for the date time
-