Class NodeInputFactory
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<NodeInput,AssetInputEntityData>
edu.ie3.datamodel.io.factory.input.NodeInputFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NodeInput
buildModel
(AssetInputEntityData data, UUID uuid, String id, OperatorInput operator, OperationTime operationTime) Creates asset input entity with given parametersprotected String[]
Returns fields other than the required fields ofSystemParticipantInput
that have to be present.Methods inherited from class edu.ie3.datamodel.io.factory.input.AssetInputEntityFactory
buildModel, getFields
Methods inherited from class edu.ie3.datamodel.io.factory.Factory
expandSet, get, getFieldsString, getSupportedClasses, newSet, validateParameters
-
Field Details
-
V_RATED
- See Also:
-
VOLT_LVL
- See Also:
-
-
Constructor Details
-
NodeInputFactory
public NodeInputFactory()
-
-
Method Details
-
getAdditionalFields
Description copied from class:AssetInputEntityFactory
Returns fields other than the required fields ofSystemParticipantInput
that have to be present.- Specified by:
getAdditionalFields
in classAssetInputEntityFactory<NodeInput,
AssetInputEntityData> - Returns:
- Array of field names, can be empty but not null
-
buildModel
protected NodeInput buildModel(AssetInputEntityData data, UUID uuid, String id, OperatorInput operator, OperationTime operationTime) Description copied from class:AssetInputEntityFactory
Creates asset input entity with given parameters- Specified by:
buildModel
in classAssetInputEntityFactory<NodeInput,
AssetInputEntityData> - 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
-