public abstract class

NAResult

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.na.NAResult
Known Direct Subclasses

Class Overview

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

Summary

Fields
protected List<NAMessage> messages
protected FeatureSet pointBarriers
protected FeatureSet polygonBarriers
protected FeatureSet polylineBarriers
Public Constructors
NAResult()
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected List<NAMessage> messages

protected FeatureSet pointBarriers

protected FeatureSet polygonBarriers

protected FeatureSet polylineBarriers

Public Constructors

public NAResult ()

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public FeatureSet getBarriers ()

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

Returns
FeatureSet the FeatureSet containing all barriers

public List<NAMessage> getMessages ()

Gets the list of messages returned by the server

Returns
List<NAMessage> the messages

public FeatureSet getPointBarriers ()

Gets only the point barriers used in the analysis

Returns
FeatureSet the point barriers used in the analysis

public FeatureSet getPolygonBarriers ()

Gets only the polygon barriers used in the analysis

Returns
FeatureSet the polygon barriers used in the analysis

public FeatureSet getPolylineBarriers ()

Gets only the polyline barriers used in the analysis

Returns
FeatureSet the polyline barriers used in the analysis

public int hashCode ()

Returns
int