Class NodeGraphicInput
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.input.InputEntity
edu.ie3.datamodel.models.input.graphics.GraphicInput
edu.ie3.datamodel.models.input.graphics.NodeGraphicInput
- All Implemented Interfaces:
HasNodes
,NestedEntity
,Serializable
Describes the graphic data belonging to a
NodeInput
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder pattern based approach to create copies ofNodeGraphicInput
entities with altered field values.Nested classes/interfaces inherited from class edu.ie3.datamodel.models.input.graphics.GraphicInput
GraphicInput.GraphicInputCopyBuilder<T extends GraphicInput.GraphicInputCopyBuilder<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
ConstructorDescriptionNodeGraphicInput
(UUID uuid, String graphicLayer, org.locationtech.jts.geom.LineString path, NodeInput node, org.locationtech.jts.geom.Point point) -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.graphics.GraphicInput
getGraphicLayer, getPath
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
Constructor Details
-
NodeGraphicInput
public NodeGraphicInput(UUID uuid, String graphicLayer, org.locationtech.jts.geom.LineString path, NodeInput node, org.locationtech.jts.geom.Point point) - Parameters:
uuid
- of the input entitygraphicLayer
- Description of the graphic layer, this graphic is located onpath
- A graphic representation as pathnode
- The NodeInput to this graphic datapoint
- The geometric point of this node
-
-
Method Details
-
getNode
-
getPoint
public org.locationtech.jts.geom.Point getPoint() -
copy
-
equals
- Overrides:
equals
in classGraphicInput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classGraphicInput
-
toString
- Overrides:
toString
in classGraphicInput
-
allNodes
-