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

java.lang.Object
  extended by com.esri.core.tasks.ags.na.NAResult
Direct Known Subclasses:
ClosestFacilityResult, RoutingResult, ServiceAreaResult

public abstract class NAResult
extends Object

Abstract class containing the values common to all NA server tasks. This included all types of barriers as well as messages

Since:
10.1.1

Field Summary
protected  List<NAMessage> messages
           
protected  FeatureSet pointBarriers
           
protected  FeatureSet polygonBarriers
           
protected  FeatureSet polylineBarriers
           
 
Constructor Summary
NAResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 FeatureSet getBarriers()
          Returns all barriers(point, polyline, and polygon) compiled into one FeatureSet.
 List<NAMessage> getMessages()
          Gets the list of messages returned by the server
 FeatureSet getPointBarriers()
          Gets only the point barriers used in the analysis
 FeatureSet getPolygonBarriers()
          Gets only the polygon barriers used in the analysis
 FeatureSet getPolylineBarriers()
          Gets only the polyline barriers used in the analysis
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pointBarriers

protected FeatureSet pointBarriers

polylineBarriers

protected FeatureSet polylineBarriers

polygonBarriers

protected FeatureSet polygonBarriers

messages

protected List<NAMessage> messages
Constructor Detail

NAResult

public NAResult()
Method Detail

getBarriers

public FeatureSet getBarriers()
Returns all barriers(point, polyline, and polygon) compiled into one FeatureSet.

Returns:
the FeatureSet containing all barriers
Since:
10.1.1

getPointBarriers

public FeatureSet getPointBarriers()
Gets only the point barriers used in the analysis

Returns:
the point barriers used in the analysis
Since:
10.1.1

getPolylineBarriers

public FeatureSet getPolylineBarriers()
Gets only the polyline barriers used in the analysis

Returns:
the polyline barriers used in the analysis
Since:
10.1.1

getPolygonBarriers

public FeatureSet getPolygonBarriers()
Gets only the polygon barriers used in the analysis

Returns:
the polygon barriers used in the analysis
Since:
10.1.1

getMessages

public List<NAMessage> getMessages()
Gets the list of messages returned by the server

Returns:
the messages
Since:
10.1.1

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2012. All Rights Reserved.