Package oracle.spatial.network.lod
Class FeatureLayerImpl
- java.lang.Object
-
- oracle.spatial.network.lod.FeatureLayerImpl
-
- All Implemented Interfaces:
FeatureLayer
public class FeatureLayerImpl extends java.lang.Object implements FeatureLayer
Default implementation of FeatureLayer.- Since:
- 12.1
-
-
Constructor Summary
Constructors Constructor Description FeatureLayerImpl()
Constructs a FeatureLayer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFeature(Feature feature)
Adds a feature to the feature layer.Feature
getFeature(long featureId)
Returns the feature with the input feature ID.long[]
getFeatureIds()
Returns all the feature IDs in this feature layer.Feature[]
getFeatures()
Returns all the features in this feature layer.Feature[]
getFeaturesOnLink(long linkId)
Returns the features associated with the input link.Feature[]
getFeaturesOnNode(long nodeId)
Returns the features associated with the input node.
-
-
-
Method Detail
-
addFeature
public void addFeature(Feature feature)
Description copied from interface:FeatureLayer
Adds a feature to the feature layer.- Specified by:
addFeature
in interfaceFeatureLayer
-
getFeature
public Feature getFeature(long featureId)
Description copied from interface:FeatureLayer
Returns the feature with the input feature ID.- Specified by:
getFeature
in interfaceFeatureLayer
- Returns:
-
getFeatures
public Feature[] getFeatures()
Description copied from interface:FeatureLayer
Returns all the features in this feature layer.- Specified by:
getFeatures
in interfaceFeatureLayer
- Returns:
-
getFeaturesOnNode
public Feature[] getFeaturesOnNode(long nodeId)
Description copied from interface:FeatureLayer
Returns the features associated with the input node.- Specified by:
getFeaturesOnNode
in interfaceFeatureLayer
- Parameters:
nodeId
- ID of the node- Returns:
-
getFeaturesOnLink
public Feature[] getFeaturesOnLink(long linkId)
Description copied from interface:FeatureLayer
Returns the features associated with the input link.- Specified by:
getFeaturesOnLink
in interfaceFeatureLayer
- Parameters:
linkId
- ID of the link- Returns:
-
getFeatureIds
public long[] getFeatureIds()
Description copied from interface:FeatureLayer
Returns all the feature IDs in this feature layer.- Specified by:
getFeatureIds
in interfaceFeatureLayer
- Returns:
-
-