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
Nested ClassesModifier and TypeClassDescriptionstatic classA builder pattern based approach to create copies ofNodeGraphicInputentities 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
ConstructorsConstructorDescriptionNodeGraphicInput(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, getPathMethods 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:
equalsin classGraphicInput
-
hashCode
public int hashCode()- Overrides:
hashCodein classGraphicInput
-
toString
- Overrides:
toStringin classGraphicInput
-
allNodes
-