Package oracle.spatial.network.lod
Class FeatureLayerMetadata
- java.lang.Object
-
- oracle.spatial.network.lod.FeatureLayerMetadata
-
public class FeatureLayerMetadata extends java.lang.ObjectMetadata information for a feature layer.- Since:
- 12.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeatureLayerMetadata.FeatureLayerTypeA list of valid feature layer types.
-
Constructor Summary
Constructors Constructor Description FeatureLayerMetadata(java.lang.String networkName, int featureLayerId, java.lang.String featureLayerName, FeatureLayerMetadata.FeatureLayerType featureLayerType, java.lang.String featureTableName, java.lang.String relationTableName, java.lang.String hierarchyTableName)Constructs a feature layer metadata instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFeatureLayerId()Returns the ID of the feature layer.java.lang.StringgetFeatureLayerName()Returns the name of the feature layer.FeatureLayerMetadata.FeatureLayerTypegetFeatureLayerType()Returns the type of the feature layer.java.lang.StringgetFeatureTableName()Returns the name of the feature table.java.lang.StringgetHierarchyTableName()Returns the name of the hierarchy table.java.lang.StringgetNetworkName()Returns the network name for the feature layer.java.lang.StringgetRelationTableName()Returns the name of the relation table.static FeatureElement.FeatureElementTypenumberToFeatureElementType(int type)This method maps the number used to represent feature element type in the database to the feature element type java object.static FeatureLayerMetadata.FeatureLayerTypenumberToFeatureLayerType(int type)This method maps the number used to represent feature layer type in the database to the feature layer type java object.static Feature.FeatureTypenumberToFeatureType(int type)This method maps the number used to represent feature type in the database to the feature type java object.voidsetFeatureLayerId(int featureLayerId)Sets the ID of the feature layer.voidsetFeatureLayerName(java.lang.String featureLayerName)Sets the name of the feature layer.voidsetFeatureLayerType(FeatureLayerMetadata.FeatureLayerType featureLayerType)Sets the type of the feature layer.voidsetFeatureTableName(java.lang.String featureTableName)Sets the name of the feature table.voidsetHierarchyTableName(java.lang.String hierarchyTableName)Sets the name of the hierarchy table.voidsetNetworkName(java.lang.String networkName)Sets the network name for the feature layer.voidsetRelationTableName(java.lang.String relationTableName)Sets the name of the relation table.
-
-
-
Constructor Detail
-
FeatureLayerMetadata
public FeatureLayerMetadata(java.lang.String networkName, int featureLayerId, java.lang.String featureLayerName, FeatureLayerMetadata.FeatureLayerType featureLayerType, java.lang.String featureTableName, java.lang.String relationTableName, java.lang.String hierarchyTableName)Constructs a feature layer metadata instance.- Parameters:
networkName- network namefeatureLayerId- feature layer IDfeatureLayerName- feature layer namefeatureLayerType- feature layer typefeatureTableName- feature table namerelationTableName- relation table namehierarchyTableName- hierarchy table name
-
-
Method Detail
-
setNetworkName
public void setNetworkName(java.lang.String networkName)
Sets the network name for the feature layer.- Parameters:
networkName-
-
getNetworkName
public java.lang.String getNetworkName()
Returns the network name for the feature layer.- Returns:
-
setFeatureLayerName
public void setFeatureLayerName(java.lang.String featureLayerName)
Sets the name of the feature layer.- Parameters:
featureLayerName-
-
getFeatureLayerName
public java.lang.String getFeatureLayerName()
Returns the name of the feature layer.- Returns:
-
setFeatureLayerId
public void setFeatureLayerId(int featureLayerId)
Sets the ID of the feature layer.- Parameters:
featureLayerId-
-
getFeatureLayerId
public int getFeatureLayerId()
Returns the ID of the feature layer.- Returns:
-
setFeatureLayerType
public void setFeatureLayerType(FeatureLayerMetadata.FeatureLayerType featureLayerType)
Sets the type of the feature layer.- Parameters:
featureLayerType-
-
getFeatureLayerType
public FeatureLayerMetadata.FeatureLayerType getFeatureLayerType()
Returns the type of the feature layer.- Returns:
-
setFeatureTableName
public void setFeatureTableName(java.lang.String featureTableName)
Sets the name of the feature table.- Parameters:
featureTableName-
-
getFeatureTableName
public java.lang.String getFeatureTableName()
Returns the name of the feature table.- Returns:
-
setRelationTableName
public void setRelationTableName(java.lang.String relationTableName)
Sets the name of the relation table.- Parameters:
relationTableName-
-
getRelationTableName
public java.lang.String getRelationTableName()
Returns the name of the relation table.- Returns:
-
setHierarchyTableName
public void setHierarchyTableName(java.lang.String hierarchyTableName)
Sets the name of the hierarchy table.- Parameters:
hierarchyTableName-
-
getHierarchyTableName
public java.lang.String getHierarchyTableName()
Returns the name of the hierarchy table.- Returns:
-
numberToFeatureLayerType
public static FeatureLayerMetadata.FeatureLayerType numberToFeatureLayerType(int type)
This method maps the number used to represent feature layer type in the database to the feature layer type java object.- Parameters:
type-- Returns:
-
numberToFeatureType
public static Feature.FeatureType numberToFeatureType(int type)
This method maps the number used to represent feature type in the database to the feature type java object.- Parameters:
type-- Returns:
-
numberToFeatureElementType
public static FeatureElement.FeatureElementType numberToFeatureElementType(int type)
This method maps the number used to represent feature element type in the database to the feature element type java object.- Parameters:
type-- Returns:
-
-