Class FeatureLayerMetadata


  • public class FeatureLayerMetadata
    extends java.lang.Object
    Metadata information for a feature layer.
    Since:
    12.1
    • 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 name
        featureLayerId - feature layer ID
        featureLayerName - feature layer name
        featureLayerType - feature layer type
        featureTableName - feature table name
        relationTableName - relation table name
        hierarchyTableName - 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:
      • 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: