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 voidaddFeature(Feature feature)Adds a feature to the feature layer.FeaturegetFeature(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:FeatureLayerAdds a feature to the feature layer.- Specified by:
addFeaturein interfaceFeatureLayer
-
getFeature
public Feature getFeature(long featureId)
Description copied from interface:FeatureLayerReturns the feature with the input feature ID.- Specified by:
getFeaturein interfaceFeatureLayer- Returns:
-
getFeatures
public Feature[] getFeatures()
Description copied from interface:FeatureLayerReturns all the features in this feature layer.- Specified by:
getFeaturesin interfaceFeatureLayer- Returns:
-
getFeaturesOnNode
public Feature[] getFeaturesOnNode(long nodeId)
Description copied from interface:FeatureLayerReturns the features associated with the input node.- Specified by:
getFeaturesOnNodein interfaceFeatureLayer- Parameters:
nodeId- ID of the node- Returns:
-
getFeaturesOnLink
public Feature[] getFeaturesOnLink(long linkId)
Description copied from interface:FeatureLayerReturns the features associated with the input link.- Specified by:
getFeaturesOnLinkin interfaceFeatureLayer- Parameters:
linkId- ID of the link- Returns:
-
getFeatureIds
public long[] getFeatureIds()
Description copied from interface:FeatureLayerReturns all the feature IDs in this feature layer.- Specified by:
getFeatureIdsin interfaceFeatureLayer- Returns:
-
-