- Direct Known Subclasses:
FeatureServiceLayerIdInfo
,MapServiceLayerIdInfo
ArcGISMapServiceInfo
) or feature service (from ArcGISFeatureServiceInfo
).
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 its ArcGISFeatureLayerInfo
.
To do this, append the ID from getId()
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:
-
Method Summary
-
Method Details
-
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
Gets the name of the sublayer, layer or table.- Returns:
- the name of the sublayer, layer or table.
- Since:
- 100.0.0
-