Class OperatorInputFactory
java.lang.Object
edu.ie3.datamodel.io.factory.Factory<T,D,T>
edu.ie3.datamodel.io.factory.EntityFactory<OperatorInput,SimpleEntityData>
edu.ie3.datamodel.io.factory.input.OperatorInputFactory
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OperatorInputbuildModel(SimpleEntityData data) Builds model with data from givenFactoryDataobject.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
-
OperatorInputFactory
public OperatorInputFactory()
-
-
Method Details
-
getFields
Description copied from class:FactoryReturns 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:
getFieldsin classFactory<OperatorInput,SimpleEntityData, OperatorInput> - Parameters:
data- EntityData (or subclass) containing the data- Returns:
- list of possible attribute sets
-
buildModel
Description copied from class:FactoryBuilds model with data from givenFactoryDataobject. ThrowsFactoryExceptionif something goes wrong.- Specified by:
buildModelin classFactory<OperatorInput,SimpleEntityData, OperatorInput> - Parameters:
data-FactoryData(or subclass) containing the data- Returns:
- model created from data
-