Class LineInput
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.LineInput
- All Implemented Interfaces:
HasNodes
,HasType
,NestedEntity
,Operable
,Serializable
Describes an electrical grid line that connects two
NodeInput
s- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder pattern based approach to create copies ofLineInput
entities 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
ConstructorDescriptionLineInput
(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices, LineTypeInput type, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Length> length, org.locationtech.jts.geom.LineString geoPosition, OlmCharacteristicInput olmCharacteristic) Constructor for an operated, always on lineLineInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, int parallelDevices, LineTypeInput type, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Length> length, org.locationtech.jts.geom.LineString geoPosition, OlmCharacteristicInput olmCharacteristic) Constructor for an operated line -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.connector.ConnectorInput
allNodes, getNodeA, getNodeB, getParallelDevices
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
-
LineInput
public LineInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, int parallelDevices, LineTypeInput type, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Length> length, org.locationtech.jts.geom.LineString geoPosition, OlmCharacteristicInput olmCharacteristic) Constructor for an operated line- 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 linenodeB
- Grid node at the other side of the lineparallelDevices
- overall amount of parallel lines to automatically construct (e.g. parallelDevices = 2 will build a total of two lines using the specified parameters)type
- of linelength
- of this linegeoPosition
- Coordinates of this lineolmCharacteristic
- Description of an optional weather dependent operation curve
-
LineInput
public LineInput(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices, LineTypeInput type, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Length> length, org.locationtech.jts.geom.LineString geoPosition, OlmCharacteristicInput olmCharacteristic) Constructor for an operated, always on line- Parameters:
uuid
- of the input entityid
- of the assetnodeA
- Grid node at one side of the linenodeB
- Grid node at the other side of the lineparallelDevices
- overall amount of parallel lines to automatically construct (e.g. parallelDevices = 2 will build a total of two lines using the specified parameters)type
- of linelength
- of this linegeoPosition
- Coordinates of this lineolmCharacteristic
- Description of an optional weather dependent operation curve
-
-
Method Details
-
getType
-
getLength
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Length> getLength() -
getGeoPosition
public org.locationtech.jts.geom.LineString getGeoPosition() -
getOlmCharacteristic
-
copy
- Specified by:
copy
in classConnectorInput
-
equals
- Overrides:
equals
in classConnectorInput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConnectorInput
-
toString
- Overrides:
toString
in classConnectorInput
-