Class TimeSeriesMetaInformationFactory
java.lang.Object
edu.ie3.datamodel.io.factory.Factory<T,D,T>
edu.ie3.datamodel.io.factory.EntityFactory<IndividualTimeSeriesMetaInformation,SimpleEntityData>
edu.ie3.datamodel.io.factory.timeseries.TimeSeriesMetaInformationFactory
public class TimeSeriesMetaInformationFactory
extends EntityFactory<IndividualTimeSeriesMetaInformation,SimpleEntityData>
Factory that creates
IndividualTimeSeriesMetaInformation
entities from source field
mappings-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected IndividualTimeSeriesMetaInformation
buildModel
(SimpleEntityData data) Builds model with data from givenFactoryData
object.getFields
(SimpleEntityData data) Returns list of sets of attribute names that the entity requires to be built.Methods inherited from class edu.ie3.datamodel.io.factory.Factory
expandSet, get, getFieldsString, getSupportedClasses, newSet, validateParameters
-
Constructor Details
-
TimeSeriesMetaInformationFactory
public TimeSeriesMetaInformationFactory()
-
-
Method Details
-
getFields
Description copied from class:Factory
Returns list of sets of attribute names that the entity requires to be built. At least one of these sets needs to be delivered for entity creation to be successful.- Specified by:
getFields
in classFactory<IndividualTimeSeriesMetaInformation,
SimpleEntityData, IndividualTimeSeriesMetaInformation> - Parameters:
data
- EntityData (or subclass) containing the data- Returns:
- list of possible attribute sets
-
buildModel
Description copied from class:Factory
Builds model with data from givenFactoryData
object. ThrowsFactoryException
if something goes wrong.- Specified by:
buildModel
in classFactory<IndividualTimeSeriesMetaInformation,
SimpleEntityData, IndividualTimeSeriesMetaInformation> - Parameters:
data
-FactoryData
(or subclass) containing the data- Returns:
- model created from data
-