com.esri.arcgis.networkanalyst
Interface INATraversalResult

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INATraversalResultProxy, NATraversalResult

public interface INATraversalResult
extends java.io.Serializable

COM Interface 'INATraversalResult'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to the properties of a traversal result.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID2d463633_4ee1_4a38_99bf_c62e2f7e3f74
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addSource(INATraversalResultSource resultSource)
          Add a network traversal source.
 void create(IFields junctionFields, IFields edgeFields, IFields simpleTurnFields, boolean hasMs)
          Makes a new traversal result.
 INATraversalResultSource esri_getSource(int index)
          The network traversal source by index.
 INATraversalResultSource getSourceByID(int sourceID)
          The network traversal source by ID.
 INATraversalResultSource getSourceByName(java.lang.String name)
          The network traversal source by name.
 int getSourceCount()
          The number of network sources.
 ISpatialReference getSpatialReference()
          The spatial reference of the result.
 boolean isHasGeometry()
          Indicates if the result has geometry.
 

Field Detail

IID2d463633_4ee1_4a38_99bf_c62e2f7e3f74

static final int IID2d463633_4ee1_4a38_99bf_c62e2f7e3f74
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSourceCount

int getSourceCount()
                   throws java.io.IOException,
                          AutomationException
The number of network sources.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_getSource

INATraversalResultSource esri_getSource(int index)
                                        throws java.io.IOException,
                                               AutomationException
The network traversal source by index.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INATraversalResultSource
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceByName

INATraversalResultSource getSourceByName(java.lang.String name)
                                         throws java.io.IOException,
                                                AutomationException
The network traversal source by name.

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INATraversalResultSource
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceByID

INATraversalResultSource getSourceByID(int sourceID)
                                       throws java.io.IOException,
                                              AutomationException
The network traversal source by ID.

Parameters:
sourceID - The sourceID (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INATraversalResultSource
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSource

void addSource(INATraversalResultSource resultSource)
               throws java.io.IOException,
                      AutomationException
Add a network traversal source.

Parameters:
resultSource - A reference to a com.esri.arcgis.networkanalyst.INATraversalResultSource (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

void create(IFields junctionFields,
            IFields edgeFields,
            IFields simpleTurnFields,
            boolean hasMs)
            throws java.io.IOException,
                   AutomationException
Makes a new traversal result.

Parameters:
junctionFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
edgeFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
simpleTurnFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
hasMs - The hasMs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference of the result.

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasGeometry

boolean isHasGeometry()
                      throws java.io.IOException,
                             AutomationException
Indicates if the result has geometry.

Returns:
The hasGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.