com.esri.core.tasks.ags.na
Class ClosestFacilityResult
java.lang.Object
com.esri.core.tasks.ags.na.NAResult
com.esri.core.tasks.ags.na.ClosestFacilityResult
public class ClosestFacilityResult
- extends NAResult
Class containing the relevant information for the entire server response.
This includes all routes, as well as the facilities, incidents, point/polyline/polygon
barriers, and messages returned by the server.
- Since:
- 10.1.1
ClosestFacilityResult
public ClosestFacilityResult()
- Since:
- 10.1.1
getRoutes
public List<Route> getRoutes()
- Gets the list of routes returned by the server
- Returns:
- the list of routes returned by the server
- Since:
- 10.1.1
getFacilities
public FeatureSet getFacilities()
- Gets the FeatureSet representing the facilities used to calculate
the closest facility
- Returns:
- the facilities used to calculate the closest facility
- Since:
- 10.1.1
getIncidents
public FeatureSet getIncidents()
- Gets the FeatureSet representing the incidents from which to
calculate the closest facility
- Returns:
- the incidents from which to calculate the closest facility
- Since:
- 10.1.1
fromJson
public static ClosestFacilityResult fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Creates a ClosestFacilityResult object from a json representation
- Parameters:
parser
- the parser containing the json
- Returns:
- ClosestFacilityResult 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.