Package edu.ie3.datamodel.models.input
Class NodeInput.NodeInputCopyBuilder
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity.UniqueEntityCopyBuilder<T>
edu.ie3.datamodel.models.input.AssetInput.AssetInputCopyBuilder<NodeInput.NodeInputCopyBuilder>
edu.ie3.datamodel.models.input.NodeInput.NodeInputCopyBuilder
- All Implemented Interfaces:
UniqueEntity.UniqueEntityBuilder
- Enclosing class:
- NodeInput
public static class NodeInput.NodeInputCopyBuilder
extends AssetInput.AssetInputCopyBuilder<NodeInput.NodeInputCopyBuilder>
A builder pattern based approach to create copies of
NodeInput
entities with altered
field values. For detailed field descriptions refer to java docs of NodeInput
- Since:
- 05.06.20
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected NodeInput.NodeInputCopyBuilder
geoPosition
(org.locationtech.jts.geom.Point geoPosition) slack
(boolean isSlack) subnet
(int subnet) voltLvl
(VoltageLevel voltLvl) vTarget
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vTarget) Methods inherited from class edu.ie3.datamodel.models.input.AssetInput.AssetInputCopyBuilder
getId, getOperationTime, getOperator, id, operationTime, operator
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity.UniqueEntityCopyBuilder
getUuid, uuid
-
Method Details
-
build
- Specified by:
build
in interfaceUniqueEntity.UniqueEntityBuilder
- Specified by:
build
in classAssetInput.AssetInputCopyBuilder<NodeInput.NodeInputCopyBuilder>
-
vTarget
public NodeInput.NodeInputCopyBuilder vTarget(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vTarget) -
slack
-
geoPosition
-
voltLvl
-
subnet
-
childInstance
- Specified by:
childInstance
in classAssetInput.AssetInputCopyBuilder<NodeInput.NodeInputCopyBuilder>
-