public class

FeatureServiceInfo

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.ags.FeatureServiceInfo

Class Overview

This class contains information about a feature service, such as:

  • the service description
  • the IDs of the layers in the service
  • the spatial reference of the service
  • whether disconnected editing is supported
  • whether sync operations are allowed on this service
Many more properties of the service are stored in this class. See the methods on this class for more details.

Obtain the FeatureServiceInfo for a service using the synchronous method fetchFeatureServiceInfo() or the asynchronous method fetchFeatureServiceInfo(com.esri.core.map.CallbackListener).

Summary

Public Methods
boolean equals(Object obj)
static FeatureServiceInfo fromJson(JsonParser parser, String url)
FeatureServiceCapabilities getCapabilities()
Gets the capabilities of the feature service.
String getCopyrightText()
Returns the copyright text for the feature service
double getDefaultZ()
Returns the default Z value for this feature service
String getDescription()
Returns the description for the feature service
EditorTrackingInfo getEditorTrackingInfo()
Returns the the editor tracking information for the feature service
List<LayerServiceInfo> getFeatureServiceLayerInfos()
Returns a list of layer information classes for the feature service.
Envelope getFullExtent()
Returns the full extent for the feature service.
Envelope getInitialExtent()
Returns the initial extent for the feature service
SpatialReference getInitialExtentSpatialReference()
Returns the initial spatial reference for the feature service
int[] getLayerIds()
Returns all of the layer IDs in the service in an integer array.
int getMaxRecordCount()
Returns the maximum record count set on the service, which controls the number of features that may be returned from a query.
String getServiceDescription()
Returns the service description for the feature service
SpatialReference getSpatialReference()
Returns the spatial reference for the feature service
String getSupportedQueryFormats()
Returns the supported query formats for the feature service
SyncCapabilities getSyncCapabilities()
Returns the the sync capabilities for the feature service
int[] getTableIds()
Returns a list of table IDs in the feature service.
List<Table> getTables()
Returns a list of tables in the feature service.
String getUnits()
Returns the units for the feature service
String getUrl()
Returns the url for the feature service
String getVersion()
Returns the version name of the geodatabase for the feature service
boolean hasStaticData()
boolean hasVersionedData()
Returns true if the feature service contains versioned data.
int hashCode()
boolean isAllowGeometryUpdates()
Returns true if geometry updates are allowed on the feature service.
boolean isDisconnectedEditingSupported()
Returns true if disconnected editing is supported for this feature service
boolean isSyncEnabled()
Returns true if sync operations are allowed on this feature service
boolean isZDefaultEnabled()
Returns true if there is a default Z value for this feature service
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static FeatureServiceInfo fromJson (JsonParser parser, String url)

Parameters
parser JsonParser
url String
Returns
FeatureServiceInfo
Throws
Exception

public FeatureServiceCapabilities getCapabilities ()

Gets the capabilities of the feature service.

Returns
FeatureServiceCapabilities Returns the capabilities.

public String getCopyrightText ()

Returns the copyright text for the feature service

Returns
String String

public double getDefaultZ ()

Returns the default Z value for this feature service

Returns
double double

public String getDescription ()

Returns the description for the feature service

Returns
String String

public EditorTrackingInfo getEditorTrackingInfo ()

Returns the the editor tracking information for the feature service

Returns
EditorTrackingInfo EditorTrackingInfo

public List<LayerServiceInfo> getFeatureServiceLayerInfos ()

Returns a list of layer information classes for the feature service.

Returns
List<LayerServiceInfo> List

public Envelope getFullExtent ()

Returns the full extent for the feature service.

Returns
Envelope Envelope

public Envelope getInitialExtent ()

Returns the initial extent for the feature service

Returns
Envelope Envelope

public SpatialReference getInitialExtentSpatialReference ()

Returns the initial spatial reference for the feature service

Returns
SpatialReference SpatialReference

public int[] getLayerIds ()

Returns all of the layer IDs in the service in an integer array.

Returns
int[] int[]

public int getMaxRecordCount ()

Returns the maximum record count set on the service, which controls the number of features that may be returned from a query.

Returns
int maxRecordCount The maximum number of features that can be returned in a query

public String getServiceDescription ()

Returns the service description for the feature service

Returns
String String

public SpatialReference getSpatialReference ()

Returns the spatial reference for the feature service

Returns
SpatialReference SpatialReference

public String getSupportedQueryFormats ()

Returns the supported query formats for the feature service

Returns
String String

public SyncCapabilities getSyncCapabilities ()

Returns the the sync capabilities for the feature service

Returns
SyncCapabilities SyncCapabilities

public int[] getTableIds ()

Returns a list of table IDs in the feature service.

Returns
int[] int[]

public List<Table> getTables ()

Returns a list of tables in the feature service.

Returns
List<Table> List

public String getUnits ()

Returns the units for the feature service

Returns
String String

public String getUrl ()

Returns the url for the feature service

Returns
String String

public String getVersion ()

Returns the version name of the geodatabase for the feature service

Returns
String String

public boolean hasStaticData ()

Returns
boolean

public boolean hasVersionedData ()

Returns true if the feature service contains versioned data.

Returns
boolean boolean

public int hashCode ()

Returns
int

public boolean isAllowGeometryUpdates ()

Returns true if geometry updates are allowed on the feature service.

Returns
boolean boolean

public boolean isDisconnectedEditingSupported ()

Returns true if disconnected editing is supported for this feature service

Returns
boolean String

public boolean isSyncEnabled ()

Returns true if sync operations are allowed on this feature service

Returns
boolean String

public boolean isZDefaultEnabled ()

Returns true if there is a default Z value for this feature service

Returns
boolean boolean

public String toString ()

Returns
String