Class ArcGISFeatureServiceInfo


  • public final class ArcGISFeatureServiceInfo
    extends Object
    Represents service information for an ArcGIS Feature Service.
    Since:
    100.0.0
    • Method Detail

      • getLayerInfos

        public List<IdInfo> getLayerInfos()
        Gets the available metadata for layers in the feature service as an unmodifiable list of IdInfo objects. This is the metadata that can be retrieved without an additional HTTP request to obtain the layer's full metadata. See IdInfo for more information.
        Returns:
        an unmodifiable list of IdInfo objects for the sublayers in the service
        Since:
        100.0.0
      • getTableInfos

        public List<IdInfo> getTableInfos()
        Gets the available metadata for stand-alone tables in the feature service as an unmodifiable list of IdInfo objects. This is the metadata that can be retrieved without an additional HTTP request to obtain the layer's full metadata. See IdInfo for more information.
        Returns:
        an unmodifiable list of IdInfo objects for the stand-alone tables in the service
        Since:
        100.0.0
      • getAttribution

        public String getAttribution()
        Gets the attribution text information of the service.
        Returns:
        the attribution text
        Since:
        100.0.0
      • getDescription

        public String getDescription()
        Gets the description of the service.
        Returns:
        the description
        Since:
        100.0.0
      • getDocumentInfo

        public ServiceDocumentInfo getDocumentInfo()
        Gets the information about the backing map document used to create the service.
        Returns:
        the document info
        Since:
        100.0.0
      • getEditorTrackingInfo

        public EditorTrackingInfo getEditorTrackingInfo()
        Gets the information about the service's editor tracking configuration.
        Returns:
        the editor tracking info, or null if not defined on the service
        Since:
        100.0.0
      • getFullExtent

        public Envelope getFullExtent()
        Gets the full extent of geographic data available in the service.
        Returns:
        the full extent
        Since:
        100.0.0
      • getInitialExtent

        public Envelope getInitialExtent()
        Gets the default extent of geographic data available in the service.
        Returns:
        the initial extent
        Since:
        100.0.0
      • getMaxRecordCount

        public long getMaxRecordCount()
        Gets the maximum number of features that will be returned by the service for any query operation. Applications should handle re-querying the omitted results when this limit is reached.
        Returns:
        the max record count
        Since:
        100.0.0
      • getFeatureServiceCapabilities

        public FeatureServiceCapabilities getFeatureServiceCapabilities()
        Gets the editing operations that are allowed by the service: Query, Create, Delete, Update, Uploads, Editing.
        Returns:
        the feature service capabilities
        Since:
        100.0.0
      • getServiceDescription

        public String getServiceDescription()
        Returns the user-friendly description of the service.
        Returns:
        the service description
        Since:
        100.0.0
      • getSpatialReference

        public SpatialReference getSpatialReference()
        Gets the Spatial reference of geographic data available in the service.
        Returns:
        the spatial reference
        Since:
        100.0.0
      • getSyncCapabilities

        public SyncCapabilities getSyncCapabilities()
        Gets the information about sync related capabilities of the service. This will be null if the service does not support sync.
        Returns:
        the sync capabilities
        Since:
        100.0.0
      • getUnit

        public Unit getUnit()
        Gets the unit of measurement for geographic data available in the service.
        Returns:
        the available unit
        Since:
        100.0.0
      • getVersion

        public String getVersion()
        Specifies the version of this particular service.
        Returns:
        the version of the service
        Since:
        100.0.0
      • getZDefault

        public double getZDefault()
        Gets the default z value. Only applicable if isZDefaultsEnabled() is true. Returns NaN if isZDefaultsEnabled() is false.
        Returns:
        the z default value
        Since:
        100.0.0
      • isZDefaultsEnabled

        public boolean isZDefaultsEnabled()
        Indicates whether service supports default z values for geometries.
        Returns:
        true if the z defaults is enabled, false otherwise
        Since:
        100.0.0
      • isAllowGeometryUpdates

        public boolean isAllowGeometryUpdates()
        Indicates whether geometry of existing features can be updated.
        Returns:
        true if the geometry updates are allowed, false otherwise
        Since:
        100.0.0
      • hasStaticData

        public boolean hasStaticData()
        Indicates whether the service has static data.
        Returns:
        true if the service has static data, false otherwise
        Since:
        100.0.0
      • hasVersionedData

        public boolean hasVersionedData()
        Indicates if the service uses a database which uses versioned data.
        Returns:
        true if the service has versioned data, false otherwise
        Since:
        100.0.0
      • isSupportsDisconnectedEditing

        public boolean isSupportsDisconnectedEditing()
        Indicates whether disconnected editing is supported.
        Returns:
        true if disconnected editing is supported, false otherwise
        Since:
        100.0.0
      • isSyncEnabled

        public boolean isSyncEnabled()
        Indicates if sync is enabled and this service can be used to allow data to be viewed and edited offline. If true the GeodatabaseSyncTask can be used.
        Returns:
        true if the sync enabled, false otherwise
        Since:
        100.0.0
      • getUrl

        public String getUrl()
        Gets the feature service URL.
        Returns:
        the feature service URL
        Since:
        100.0.0