java.lang.Object | |
↳ | com.esri.core.tasks.ags.na.NAFeaturesAsLayer |
Class containing the name of a layer within the map service containing stops, facilities, incidents, or barriers to use. Includes parameters to choose a subset of that layer.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NAFeaturesAsLayer()
Empty constructor
| |||||||||||
NAFeaturesAsLayer(String layerName)
Constructor taking the layer name
| |||||||||||
NAFeaturesAsLayer(String layerName, String where)
Constructor taking the layer name and a where clause
| |||||||||||
NAFeaturesAsLayer(String layerName, SpatialFilter spatialFilter)
Constructor taking the layer name and a spatial filter
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
String |
getLayerName()
Gets the name of the layer containing the features
| ||||||||||
SpatialFilter |
getSpatialFilter()
Gets the spatial filter used to filter the features
| ||||||||||
String |
getWhere()
Gets the where clause used to filter the features
| ||||||||||
int | hashCode() | ||||||||||
Boolean |
isDoNotLocateOnRestrictedElements()
Gets whether or not to ignore restricted elements when locating
| ||||||||||
void |
setDoNotLocateOnRestrictedElements(Boolean doNotLocateOnRestrictedElements)
Sets whether or not to ignore restricted elements when locating
| ||||||||||
void |
setLayerName(String layerName)
Sets the name of the layer containing the features
| ||||||||||
void |
setSpatialFilter(SpatialFilter spatialFilter)
Sets the spatial filter used to filter the features
| ||||||||||
void |
setWhere(String where)
Sets the where clause used to filter the features
| ||||||||||
String |
toJson()
Translates all fields into a JSON object representation
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.esri.core.tasks.ags.na.NAFeatures
|
Empty constructor
Constructor taking the layer name
layerName | the name of the layer |
---|
Constructor taking the layer name and a where clause
layerName | the name of the layer |
---|---|
where | the where clause for filtering out features |
Constructor taking the layer name and a spatial filter
layerName | the name of the layer |
---|---|
spatialFilter | the spatial filter for filtering out features |
Gets the name of the layer containing the features
Gets the spatial filter used to filter the features
Gets the where clause used to filter the features
Gets whether or not to ignore restricted elements when locating
Sets whether or not to ignore restricted elements when locating
doNotLocateOnRestrictedElements | true if restricted elements should be ignored |
---|
Sets the name of the layer containing the features
layerName | the name of the layer |
---|
Sets the spatial filter used to filter the features
spatialFilter | the SpatialFilter to filter the features |
---|
Sets the where clause used to filter the features
where | the where clause that filters the features |
---|
Translates all fields into a JSON object representation
Exception |
---|