com.esri.core.tasks.ags.na
Class ServiceAreaResult

java.lang.Object
  extended by com.esri.core.tasks.ags.na.NAResult
      extended by com.esri.core.tasks.ags.na.ServiceAreaResult

public class ServiceAreaResult
extends NAResult

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.

Since:
10.1.1

Field Summary
 
Fields inherited from class com.esri.core.tasks.ags.na.NAResult
messages, pointBarriers, polygonBarriers, polylineBarriers
 
Constructor Summary
ServiceAreaResult()
           
 
Method Summary
 boolean equals(Object obj)
           
static ServiceAreaResult fromJson(org.codehaus.jackson.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()
           
 
Methods inherited from class com.esri.core.tasks.ags.na.NAResult
getBarriers, getMessages, getPointBarriers, getPolygonBarriers, getPolylineBarriers
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAreaResult

public ServiceAreaResult()
Method Detail

getServiceAreaPolygons

public FeatureSet getServiceAreaPolygons()
Gets the FeatureSet representing the service area polygons

Returns:
the sAPolygons of the service area
Since:
10.1.1

getServiceAreaPolylines

public FeatureSet getServiceAreaPolylines()
Gets the FeatureSet representing the service area polylines

Returns:
the sAPolylines of the service area
Since:
10.1.1

getFacilities

public FeatureSet getFacilities()
Gets the FeatureSet representing the facilities used to perform service area

Returns:
the facilities used to perform service area
Since:
10.1.1

fromJson

public static ServiceAreaResult fromJson(org.codehaus.jackson.JsonParser parser)
                                  throws Exception
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
Since:
10.1.1

hashCode

public int hashCode()
Overrides:
hashCode in class NAResult

equals

public boolean equals(Object obj)
Overrides:
equals in class NAResult


Copyright © 2012. All Rights Reserved.