Class NFEConnectableEdge<V>
- java.lang.Object
-
- oracle.spatial.network.nfe.model.edit.NFEConnectableEdge<V>
-
- Type Parameters:
V- The type of edge. Typically it would be a Line Feature Element or a Link.
public class NFEConnectableEdge<V> extends java.lang.ObjectRepresents an edge and the location (relative to the edge and as a point in space) where the connection must be performed.
-
-
Constructor Summary
Constructors Constructor Description NFEConnectableEdge()Allocates an empty connectable edgeNFEConnectableEdge(V edge, java.awt.geom.Point2D connPoint, IntersectionLocation connInterLoc)Allocates a new connectable edge
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntersectionLocationgetConnectableIntersectionLocation()Gets the location of edge where the connection will be performed.java.awt.geom.Point2DgetConnectableSpatialPoint()Gets the edge's point that will be connectedlonggetConnectingLinePointRuleId()Gets the line point rule ID that will connect the edgeVgetEdge()Gets the edge to be connectedvoidsetConnectableIntersectionLocation(IntersectionLocation connectableIntersectionLocation)Sets the location (as a fixed value) of edge where the connection will be performed.voidsetConnectableSpatialPoint(java.awt.geom.Point2D connectableSpatialPoint)Sets the edge's point that will be connectedvoidsetConnectingLinePointRuleId(long connLPRuleId)Sets the line point rule ID that will connect the edgevoidsetEdge(V edge)Sets an edge to be connected
-
-
-
Constructor Detail
-
NFEConnectableEdge
public NFEConnectableEdge()
Allocates an empty connectable edge
-
NFEConnectableEdge
public NFEConnectableEdge(V edge, java.awt.geom.Point2D connPoint, IntersectionLocation connInterLoc)
Allocates a new connectable edge- Parameters:
edge- the edge to be connectedconnPoint- the point in the edge where the connection must be performedconnInterLoc- the edge's connection location (as an enum value)
-
-
Method Detail
-
getEdge
public V getEdge()
Gets the edge to be connected- Returns:
- an edge instance
-
setEdge
public void setEdge(V edge)
Sets an edge to be connected- Parameters:
edge- an edge instance
-
getConnectableSpatialPoint
public java.awt.geom.Point2D getConnectableSpatialPoint()
Gets the edge's point that will be connected- Returns:
- a java point that lying on the edge
-
setConnectableSpatialPoint
public void setConnectableSpatialPoint(java.awt.geom.Point2D connectableSpatialPoint)
Sets the edge's point that will be connected- Parameters:
connectableSpatialPoint- a java point lying on the edge
-
getConnectableIntersectionLocation
public IntersectionLocation getConnectableIntersectionLocation()
Gets the location of edge where the connection will be performed.- Returns:
- an edge's location
-
setConnectableIntersectionLocation
public void setConnectableIntersectionLocation(IntersectionLocation connectableIntersectionLocation)
Sets the location (as a fixed value) of edge where the connection will be performed.- Parameters:
connectableIntersectionLocation- an edge's location
-
getConnectingLinePointRuleId
public long getConnectingLinePointRuleId()
Gets the line point rule ID that will connect the edge- Returns:
- a line point rule ID
-
setConnectingLinePointRuleId
public void setConnectingLinePointRuleId(long connLPRuleId)
Sets the line point rule ID that will connect the edge- Parameters:
connLPRuleId- a line point rule ID
-
-