Class IdInfo
- java.lang.Object
-
- com.esri.arcgisruntime.arcgisservices.IdInfo
-
- Direct Known Subclasses:
FeatureServiceLayerIdInfo
,MapServiceLayerIdInfo
public class IdInfo extends java.lang.Object
Represents the service level metadata for a layer, table or sublayer in an ArcGIS map service (fromArcGISMapServiceInfo
) or feature service (fromArcGISFeatureServiceInfo
).This is a subset of the full metadata that would be available if the layer, table or sublayer was requested on its own. The full metadata for the layer, table or sublayer is available if you create a
ServiceFeatureTable
for the layer and access itsArcGISFeatureLayerInfo
. To do this, append the ID fromgetId()
to the URL of the feature service or map service.For example: If one had the ArcGISFeatureServiceInfo for the following service: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer
getId()
would return 0 for the Wildfire_Response_Points layer (as its ID is 0) so one would create a ServiceFeatureTable for this layer using the following URL: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer/0- Since:
- 100.0.0
- See Also:
ArcGISMapServiceInfo
,ArcGISFeatureServiceInfo
,ServiceFeatureTable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
Gets the ID of the sublayer, layer or table.java.lang.String
getName()
Gets the name of the sublayer, layer or table.
-
-
-
Method Detail
-
getId
public long getId()
Gets the ID of the sublayer, layer or table.- Returns:
- the ID of the sublayer, layer or table as a long
- Since:
- 100.0.0
-
getName
public java.lang.String getName()
Gets the name of the sublayer, layer or table.- Returns:
- the name of the sublayer, layer or table.
- Since:
- 100.0.0
-
-