Class ConnectorInput
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.input.InputEntity
edu.ie3.datamodel.models.input.AssetInput
edu.ie3.datamodel.models.input.connector.ConnectorInput
- All Implemented Interfaces:
HasNodes
,NestedEntity
,Operable
,Serializable
- Direct Known Subclasses:
LineInput
,SwitchInput
,TransformerInput
Describes an asset that connects two
NodeInput
s- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.ie3.datamodel.models.input.AssetInput
AssetInput.AssetInputCopyBuilder<T extends AssetInput.AssetInputCopyBuilder<T>>
Nested classes/interfaces inherited from class edu.ie3.datamodel.models.UniqueEntity
UniqueEntity.UniqueEntityBuilder, UniqueEntity.UniqueEntityCopyBuilder<T extends UniqueEntity.UniqueEntityBuilder>
-
Field Summary
Fields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConnectorInput
(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices) Constructor for an operated, always on connectorprotected
ConnectorInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, int parallelDevices) Constructor for an operated connector -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.AssetInput
getId, getOperationTime, getOperator
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.ie3.datamodel.models.Operable
inOperationOn
-
Constructor Details
-
ConnectorInput
protected ConnectorInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, int parallelDevices) Constructor for an operated connector- Parameters:
uuid
- of the input entityid
- of the assetoperator
- of the assetoperationTime
- Time for which the entity is operatednodeA
- Grid node at one side of the connectornodeB
- Grid node at the other side of the connectorparallelDevices
- overall amount of parallel devices to automatically construct (e.g. parallelDevices = 2 will build a total of two entities using the specified parameters)
-
ConnectorInput
protected ConnectorInput(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices) Constructor for an operated, always on connector- Parameters:
uuid
- of the input entityid
- of the assetnodeA
- Grid node at one side of the connectornodeB
- Grid node at the other side of the connectorparallelDevices
- overall amount of parallel devices to automatically construct (e.g. parallelDevices = 2 will build a total of two entities using the specified parameters)
-
-
Method Details
-
getNodeA
-
getNodeB
-
copy
public abstract edu.ie3.datamodel.models.input.connector.ConnectorInput.ConnectorInputCopyBuilder<?> copy()- Specified by:
copy
in classAssetInput
-
allNodes
-
getParallelDevices
public int getParallelDevices() -
equals
- Overrides:
equals
in classAssetInput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAssetInput
-
toString
- Overrides:
toString
in classAssetInput
-