Class FixedFeedInInputFactory
java.lang.Object
edu.ie3.datamodel.io.factory.Factory<T,D,T>
edu.ie3.datamodel.io.factory.EntityFactory<T,D>
edu.ie3.datamodel.io.factory.input.AssetInputEntityFactory<T,D>
edu.ie3.datamodel.io.factory.input.participant.FixedFeedInInputFactory
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FixedFeedInInputbuildModel(NodeAssetInputEntityData data, UUID uuid, String id, OperatorInput operator, OperationTime operationTime) Creates asset input entity with given parametersprotected FixedFeedInInputbuildModel(NodeAssetInputEntityData data, UUID uuid, String id, NodeInput node, ReactivePowerCharacteristic qCharacteristics, OperatorInput operator, OperationTime operationTime) Creates SystemParticipantInput entity with given parametersprotected String[]Returns fields other than the required fields ofSystemParticipantInputthat have to be present.Returns list of sets of attribute names that the entity requires to be built.Methods inherited from class edu.ie3.datamodel.io.factory.input.AssetInputEntityFactory
buildModelMethods inherited from class edu.ie3.datamodel.io.factory.Factory
expandSet, get, getFieldsString, getSupportedClasses, newSet, validateParameters
-
Constructor Details
-
FixedFeedInInputFactory
public FixedFeedInInputFactory()
-
-
Method Details
-
getAdditionalFields
Description copied from class:AssetInputEntityFactoryReturns fields other than the required fields ofSystemParticipantInputthat have to be present.- Specified by:
getAdditionalFieldsin classAssetInputEntityFactory<FixedFeedInInput,NodeAssetInputEntityData> - Returns:
- Array of field names, can be empty but not null
-
buildModel
protected FixedFeedInInput buildModel(NodeAssetInputEntityData data, UUID uuid, String id, NodeInput node, ReactivePowerCharacteristic qCharacteristics, OperatorInput operator, OperationTime operationTime) Creates SystemParticipantInput entity with given parameters- Parameters:
data- entity datauuid- UUID of the input entityid- IDnode- Node that the asset is connected toqCharacteristics- Description of a reactive power characteristicoperator- Operator of the assetoperationTime- time in which the entity is operated- Returns:
- newly created asset object
-
getFields
Description copied from class:AssetInputEntityFactoryReturns list of sets of attribute names that the entity requires to be built.The mandatory attributes required to create an
AssetInputare enhanced with custom attribute names that each subclass factory determines inAssetInputEntityFactory.getAdditionalFields().- Overrides:
getFieldsin classAssetInputEntityFactory<T extends SystemParticipantInput,D extends NodeAssetInputEntityData> - Parameters:
data- EntityData (or subclass) containing the data- Returns:
- list of possible attribute sets
-
buildModel
protected FixedFeedInInput buildModel(NodeAssetInputEntityData data, UUID uuid, String id, OperatorInput operator, OperationTime operationTime) Description copied from class:AssetInputEntityFactoryCreates asset input entity with given parameters- Specified by:
buildModelin classAssetInputEntityFactory<T extends SystemParticipantInput,D extends NodeAssetInputEntityData> - Parameters:
data- entity datauuid- UUID of the input entityid- IDoperator- Operator of the assetoperationTime- time in which the entity is operated- Returns:
- newly created asset object
-