Class Transformer3WInputFactory
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.Transformer3WInputFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringAttribute that _can_, but does not _have to_ be present for the creation ofConnectorInputs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Transformer3WInputbuildModel(Transformer3WInputEntityData data, UUID uuid, String id, OperatorInput operator, OperationTime operationTime) Creates asset input entity with given parametersprotected Transformer3WInputbuildModel(Transformer3WInputEntityData data, UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, OperatorInput operator, OperationTime operationTime) protected String[]Returns fields other than the required fields ofSystemParticipantInputthat have to be present.Methods inherited from class edu.ie3.datamodel.io.factory.input.AssetInputEntityFactory
buildModel, getFieldsMethods inherited from class edu.ie3.datamodel.io.factory.Factory
expandSet, get, getFieldsString, getSupportedClasses, newSet, validateParameters
-
Field Details
-
PARALLEL_DEVICES
Attribute that _can_, but does not _have to_ be present for the creation ofConnectorInputs. Thus, this attribute name declaration can be used in subclasses ofConnectorInputEntityFactory- See Also:
-
-
Constructor Details
-
Transformer3WInputFactory
public Transformer3WInputFactory()
-
-
Method Details
-
getAdditionalFields
Description copied from class:AssetInputEntityFactoryReturns fields other than the required fields ofSystemParticipantInputthat have to be present.- Specified by:
getAdditionalFieldsin classAssetInputEntityFactory<Transformer3WInput,Transformer3WInputEntityData> - Returns:
- Array of field names, can be empty but not null
-
buildModel
protected Transformer3WInput buildModel(Transformer3WInputEntityData data, UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, OperatorInput operator, OperationTime operationTime) -
buildModel
protected Transformer3WInput buildModel(Transformer3WInputEntityData 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 ConnectorInput,D extends ConnectorInputEntityData> - 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
-