|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.tasks.ags.na.NAFeaturesAsLayer
public class 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.
| Constructor Summary | |
|---|---|
NAFeaturesAsLayer()
Empty constructor |
|
NAFeaturesAsLayer(String layerName)
Constructor taking the layer name |
|
NAFeaturesAsLayer(String layerName,
SpatialFilter spatialFilter)
Constructor taking the layer name and a spatial filter |
|
NAFeaturesAsLayer(String layerName,
String where)
Constructor taking the layer name and a where clause |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NAFeaturesAsLayer()
public NAFeaturesAsLayer(String layerName)
layerName - the name of the layer
public NAFeaturesAsLayer(String layerName,
String where)
layerName - the name of the layerwhere - the where clause for filtering out features
public NAFeaturesAsLayer(String layerName,
SpatialFilter spatialFilter)
layerName - the name of the layerspatialFilter - the spatial filter for filtering out features| Method Detail |
|---|
public String getLayerName()
public void setLayerName(String layerName)
layerName - the name of the layerpublic String getWhere()
public void setWhere(String where)
where - the where clause that filters the featurespublic SpatialFilter getSpatialFilter()
public void setSpatialFilter(SpatialFilter spatialFilter)
spatialFilter - the SpatialFilter to filter the featurespublic Boolean isDoNotLocateOnRestrictedElements()
public void setDoNotLocateOnRestrictedElements(Boolean doNotLocateOnRestrictedElements)
doNotLocateOnRestrictedElements - true if restricted elements should be ignored
public String toJson()
throws Exception
toJson in interface NAFeaturesExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||