Class NFEBasicPredefinedConnectedPoint
- java.lang.Object
-
- oracle.spatial.network.nfe.model.feature.NFEBasicPredefinedConnectedPoint
-
- All Implemented Interfaces:
NFEPredefinedConnectedPoint
public class NFEBasicPredefinedConnectedPoint extends java.lang.Object implements NFEPredefinedConnectedPoint
The default implementation ofNFEPredefinedConnectedPoint
-
-
Constructor Summary
Constructors Constructor Description NFEBasicPredefinedConnectedPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NFEPredefinedConnectedPoint
createCopy()
Returns object copy.long
getId()
Gets the descriptor IDNFEFeatureClass
getLineFeatureClass()
Gets the descriptor's owner line feature classNFEFeatureClass
getPointFeatureClass()
Gets the feature class of the default connected point describeddouble
getPosition()
Gets the position where the default connected point must be placed over a line.void
setId(long id)
Sets the descriptor IDvoid
setLineFeatureClass(NFEFeatureClass lineFeatureClass)
Sets the descriptor's owner line feature classvoid
setPointFeatureClass(NFEFeatureClass pointFeatureClass)
Sets the feature class of the default connected point describedvoid
setPosition(double position)
Sets the position where the default connected point must be placed over a line.
-
-
-
Method Detail
-
getId
public long getId()
Description copied from interface:NFEPredefinedConnectedPoint
Gets the descriptor ID- Specified by:
getId
in interfaceNFEPredefinedConnectedPoint
- Returns:
- the descriptor ID
-
setId
public void setId(long id)
Description copied from interface:NFEPredefinedConnectedPoint
Sets the descriptor ID- Specified by:
setId
in interfaceNFEPredefinedConnectedPoint
- Parameters:
id
- the descriptor ID
-
getLineFeatureClass
public NFEFeatureClass getLineFeatureClass()
Description copied from interface:NFEPredefinedConnectedPoint
Gets the descriptor's owner line feature class- Specified by:
getLineFeatureClass
in interfaceNFEPredefinedConnectedPoint
- Returns:
- a line feature class instance
-
setLineFeatureClass
public void setLineFeatureClass(NFEFeatureClass lineFeatureClass)
Description copied from interface:NFEPredefinedConnectedPoint
Sets the descriptor's owner line feature class- Specified by:
setLineFeatureClass
in interfaceNFEPredefinedConnectedPoint
- Parameters:
lineFeatureClass
- a line feature class instance
-
getPointFeatureClass
public NFEFeatureClass getPointFeatureClass()
Description copied from interface:NFEPredefinedConnectedPoint
Gets the feature class of the default connected point described- Specified by:
getPointFeatureClass
in interfaceNFEPredefinedConnectedPoint
- Returns:
- a point feature class instance
-
setPointFeatureClass
public void setPointFeatureClass(NFEFeatureClass pointFeatureClass)
Description copied from interface:NFEPredefinedConnectedPoint
Sets the feature class of the default connected point described- Specified by:
setPointFeatureClass
in interfaceNFEPredefinedConnectedPoint
- Parameters:
pointFeatureClass
- a point feature class instance
-
getPosition
public double getPosition()
Description copied from interface:NFEPredefinedConnectedPoint
Gets the position where the default connected point must be placed over a line.- Specified by:
getPosition
in interfaceNFEPredefinedConnectedPoint
- Returns:
- a value between 0 an 1, relative to a line's length
-
setPosition
public void setPosition(double position)
Description copied from interface:NFEPredefinedConnectedPoint
Sets the position where the default connected point must be placed over a line.- Specified by:
setPosition
in interfaceNFEPredefinedConnectedPoint
- Parameters:
position
- a value between 0 an 1, relative to a line's length
-
createCopy
public NFEPredefinedConnectedPoint createCopy()
Description copied from interface:NFEPredefinedConnectedPoint
Returns object copy.- Specified by:
createCopy
in interfaceNFEPredefinedConnectedPoint
- Returns:
- object copy
-
-