public class

ServiceAreaResult

extends NAResult
java.lang.Object
   ↳ com.esri.core.tasks.na.NAResult
     ↳ com.esri.core.tasks.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.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 the service area task.
FeatureSet getServiceAreaPolygons()
Gets the FeatureSet representing the service area polygons
FeatureSet getServiceAreaPolylines()
Gets the FeatureSet representing the service area polylines
int hashCode()
String toString()
Returns a string representation of the class.
[Expand]
Inherited Methods
From class com.esri.core.tasks.na.NAResult
From class java.lang.Object

Public Constructors

public ServiceAreaResult ()

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static ServiceAreaResult fromJson (JsonParser parser)

Creates a ServiceAreaResult object from a json representation

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

public FeatureSet getFacilities ()

Gets the FeatureSet representing the facilities used to perform the service area task.

Returns
FeatureSet the facilities used to perform the service area task

public FeatureSet getServiceAreaPolygons ()

Gets the FeatureSet representing the service area polygons

Returns
FeatureSet the service area polygons

public FeatureSet getServiceAreaPolylines ()

Gets the FeatureSet representing the service area polylines

Returns
FeatureSet the service area polylines

public int hashCode ()

Returns
int

public String toString ()

Returns a string representation of the class. The format and content of the returned string is not part of the contract of the method and is subject to change in any future release or patch without further notice.

Returns
String