public class FeatureLayerMetadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FeatureLayerMetadata.FeatureLayerType
A list of valid feature layer types.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getFeatureLayerId()
Returns the ID of the feature layer.
|
java.lang.String |
getFeatureLayerName()
Returns the name of the feature layer.
|
FeatureLayerMetadata.FeatureLayerType |
getFeatureLayerType()
Returns the type of the feature layer.
|
java.lang.String |
getFeatureTableName()
Returns the name of the feature table.
|
java.lang.String |
getHierarchyTableName()
Returns the name of the hierarchy table.
|
java.lang.String |
getNetworkName()
Returns the network name for the feature layer.
|
java.lang.String |
getRelationTableName()
Returns the name of the relation table.
|
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.
|
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.
|
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.
|
void |
setFeatureLayerId(int featureLayerId)
Sets the ID of the feature layer.
|
void |
setFeatureLayerName(java.lang.String featureLayerName)
Sets the name of the feature layer.
|
void |
setFeatureLayerType(FeatureLayerMetadata.FeatureLayerType featureLayerType)
Sets the type of the feature layer.
|
void |
setFeatureTableName(java.lang.String featureTableName)
Sets the name of the feature table.
|
void |
setHierarchyTableName(java.lang.String hierarchyTableName)
Sets the name of the hierarchy table.
|
void |
setNetworkName(java.lang.String networkName)
Sets the network name for the feature layer.
|
void |
setRelationTableName(java.lang.String relationTableName)
Sets the name of the relation table.
|
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)
networkName
- network namefeatureLayerId
- feature layer IDfeatureLayerName
- feature layer namefeatureLayerType
- feature layer typefeatureTableName
- feature table namerelationTableName
- relation table namehierarchyTableName
- hierarchy table namepublic void setNetworkName(java.lang.String networkName)
networkName
-public java.lang.String getNetworkName()
public void setFeatureLayerName(java.lang.String featureLayerName)
featureLayerName
-public java.lang.String getFeatureLayerName()
public void setFeatureLayerId(int featureLayerId)
featureLayerId
-public int getFeatureLayerId()
public void setFeatureLayerType(FeatureLayerMetadata.FeatureLayerType featureLayerType)
featureLayerType
-public FeatureLayerMetadata.FeatureLayerType getFeatureLayerType()
public void setFeatureTableName(java.lang.String featureTableName)
featureTableName
-public java.lang.String getFeatureTableName()
public void setRelationTableName(java.lang.String relationTableName)
relationTableName
-public java.lang.String getRelationTableName()
public void setHierarchyTableName(java.lang.String hierarchyTableName)
hierarchyTableName
-public java.lang.String getHierarchyTableName()
public static FeatureLayerMetadata.FeatureLayerType numberToFeatureLayerType(int type)
type
-public static Feature.FeatureType numberToFeatureType(int type)
type
-public static FeatureElement.FeatureElementType numberToFeatureElementType(int type)
type
-