Class SwitchInput
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
edu.ie3.datamodel.models.input.connector.SwitchInput
- All Implemented Interfaces:
HasNodes,NestedEntity,Operable,Serializable
Describes an electrical grid switch between two
NodeInputs- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder pattern based approach to create copies ofLineInputentities with altered field values.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
ConstructorsConstructorDescriptionSwitchInput(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, boolean closed) Constructor for an operated, always on switchSwitchInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, boolean closed) Constructor for an operated switch -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.connector.ConnectorInput
allNodes, getNodeA, getNodeB, getParallelDevicesMethods inherited from class edu.ie3.datamodel.models.input.AssetInput
getId, getOperationTime, getOperatorMethods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.ie3.datamodel.models.Operable
inOperationOn
-
Constructor Details
-
SwitchInput
public SwitchInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, boolean closed) Constructor for an operated switch- 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 switchnodeB- Grid node at the other side of the switchclosed- Is the switching state 'closed'?
-
SwitchInput
Constructor for an operated, always on switch- Parameters:
uuid- of the input entityid- of the assetnodeA- Grid node at one side of the switchnodeB- Grid node at the other side of the switchclosed- Is the switching state 'closed'?
-
-
Method Details
-
isClosed
public boolean isClosed() -
copy
- Specified by:
copyin classConnectorInput
-
equals
- Overrides:
equalsin classConnectorInput
-
hashCode
public int hashCode()- Overrides:
hashCodein classConnectorInput
-
toString
- Overrides:
toStringin classConnectorInput
-