public class

ServiceAreaResult

extends NAResult
java.lang.Object
   ↳ com.esri.core.tasks.ags.na.NAResult
     ↳ com.esri.core.tasks.ags.na.ServiceAreaResult

Class Overview

Class containing the relevant information for the entire server response. This includes all service area polygons and polylines, as well as facilities, point/polyline/polygon barriers, and messages returned by the server.

Summary

[Expand]
Inherited Fields
From class com.esri.core.tasks.ags.na.NAResult
Public Constructors
ServiceAreaResult()
Public Methods
boolean equals(Object obj)
static ServiceAreaResult fromJson(JsonParser parser)
Creates a ServiceAreaResult object from a json representation
FeatureSet getFacilities()
Gets the FeatureSet representing the facilities used to perform service area
FeatureSet getServiceAreaPolygons()
Gets the FeatureSet representing the service area polygons
FeatureSet getServiceAreaPolylines()
Gets the FeatureSet representing the service area polylines
int hashCode()
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.na.NAResult
From class java.lang.Object

Public Constructors

public ServiceAreaResult ()

Public Methods

public boolean equals (Object obj)

public static ServiceAreaResult fromJson (JsonParser parser)

Creates a ServiceAreaResult object from a json representation

Parameters
parser the parser containing the json
Returns
  • ServiceAreaResult the object created from the json
Throws
Exception
Exception

public FeatureSet getFacilities ()

Gets the FeatureSet representing the facilities used to perform service area

Returns
  • the facilities used to perform service area

public FeatureSet getServiceAreaPolygons ()

Gets the FeatureSet representing the service area polygons

Returns
  • the sAPolygons of the service area

public FeatureSet getServiceAreaPolylines ()

Gets the FeatureSet representing the service area polylines

Returns
  • the sAPolylines of the service area

public int hashCode ()