com.esri.arcgis.networkanalyst
Class NATraversalResult

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NATraversalResult
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INAResult, INAResult2, INATraversalResult, INATraversalResultEdit, INATraversalResultEdit2, INATraversalResultQuery, INATraversalResultQuery2, IPersist, IPersistStream, java.io.Externalizable, java.io.Serializable

public class NATraversalResult
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INAResult, INAResult2, INATraversalResult, INATraversalResultEdit, INATraversalResultEdit2, INATraversalResultQuery, INATraversalResultQuery2, IPersistStream, java.io.Externalizable

COM Class 'NATraversalResult'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description 'Contains the result of a network analysis.' 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 =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAResult2
IID, IID0718bd10_a86e_4014_865d_305d69af7ad9, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAResult
IID9e92a2ad_551e_4be0_bf57_aac552789dae
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATraversalResult
IID, IID2d463633_4ee1_4a38_99bf_c62e2f7e3f74, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATraversalResultEdit2
IID, IID5680bebc_5262_4e20_995d_02cd95a8ad0a, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATraversalResultEdit
IIDfb867c22_028a_4795_beb8_8c646a1a2994
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATraversalResultQuery2
IID, IIDaaabec4f_c0ba_4c92_b20f_dce0042389c2, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATraversalResultQuery
IID07f8ebe3_1378_4261_8284_35c16b8fb707
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Constructor Summary
NATraversalResult()
          Constructs a NATraversalResult using ArcGIS Engine.
NATraversalResult(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NATraversalResult theNATraversalResult = (NATraversalResult) obj;
 
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.
 void create(java.lang.String name, INAContextHelper nAContextHelper, boolean isScratch)
          Set up for a new analysis.
 int createEdge(int sourceID, int sourceOID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline)
          Make a new edge in the result.
 int createEdgeEx(int sourceID, int sourceOID, int eID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline)
          Make a new edge in the result.
 int createJunction(int sourceID, int sourceOID, IPoint point)
          Make a new junction in the result.
 int createJunctionEx(int sourceID, int sourceOID, int eID, IPoint point)
          Make a new junction in the result.
 int createSimpleTurn(int sourceID, int sourceOID, int fromEdgeID, int toEdgeID)
          Make a new two edge turn in the result.
 int createSimpleTurnEx(int sourceID, int sourceOID, int eID, int fromEdgeID, int toEdgeID)
          Make a new two edge turn in the result.
 void emptyAll()
          Clear out all existing rows from any previous analysis.
 boolean equals(java.lang.Object o)
          Compare this object with another
 INATraversalResultSource esri_getSource(int index)
          The network traversal source by index.
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 java.lang.String getEIDFieldName()
          The EID field name
 java.lang.String getElementIDFieldName()
          The element ID field name.
 IFeatureClass getFeatureClass(int networkElementType)
          The feature class by element type.
 java.lang.String getFromEdgeIDFieldName()
          The from edge ID field name.
 java.lang.String getFromJunctionIDFieldName()
          The from junction ID field name.
 java.lang.String getFromPositionFieldName()
          The from position field name.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 INAContext getNAContext()
          The context for the result.
 java.lang.String getName()
          The name of the result.
 IPropertySet getOutputProperties()
          The properties of the output.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 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.
 java.lang.String getSourceIDFieldName()
          The source ID field name.
 java.lang.String getSourceOIDFieldName()
          The source OID field name.
 ISpatialReference getSpatialReference()
          The spatial reference of the result.
 java.lang.String getToEdgeIDFieldName()
          The to edge ID field name.
 java.lang.String getToJunctionIDFieldName()
          The to junction ID field name.
 java.lang.String getToPositionFieldName()
          The to position field name.
 int hashCode()
          the hashcode for this object
 void inferGeometry(java.lang.String sourceName, IEnvelope envelope, ITrackCancel trackCancel)
          Constructs the geometry for the result.
 void initialize(java.lang.String name, INAContext nAContext, boolean isScratch)
          Set up for a new analysis.
 void initializeEx(INAContextHelper nAContextHelper)
          Provides the result object with a reference to the context.
 void isDirty()
          isDirty
 boolean isHasGeometry()
          Indicates if the result has geometry.
 boolean isHasValidResult()
          Indicates if the current result is valid.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a NATraversalResult.
 void save(IStream pstm, int fClearDirty)
          save
 IFeatureCursor searchConnected(INATraversalResultElement element, int searchedElementType, int searchedDirection, boolean recycle)
          Returns a connected set of elements in the result.
 void setHasValidResult(boolean pFlag)
          Indicates if the current result is valid.
 void startEditing()
          Starts editing the result..
 void stopEditing()
          Stops editing the result.
 void writeEdgeBuffer(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline)
          Make a new edge in the result from the feature buffer.
 void writeEdgeBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline)
          Make a new edge in the result from the feature buffer.
 void writeExternal(java.io.ObjectOutput out)
           
 void writeJunctionBuffer(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, IPoint point)
          Make a new junction in the result from the feature buffer.
 void writeJunctionBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, IPoint point)
          Make a new junction in the result from the feature buffer.
 void writeSimpleTurnBuffer(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int fromEdgeID, int toEdgeID)
          Make a new two part turn in the result from the feature buffer.
 void writeSimpleTurnBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, int fromEdgeID, int toEdgeID)
          Make a new two part turn in the result from the feature buffer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

NATraversalResult

public NATraversalResult()
                  throws java.io.IOException,
                         java.net.UnknownHostException
Constructs a NATraversalResult using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

NATraversalResult

public NATraversalResult(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NATraversalResult theNATraversalResult = (NATraversalResult) obj;

Construct a NATraversalResult using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NATraversalResult.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a NATraversalResult.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

initialize

public void initialize(java.lang.String name,
                       INAContext nAContext,
                       boolean isScratch)
                throws java.io.IOException,
                       AutomationException
Set up for a new analysis.

Specified by:
initialize in interface INAResult
Parameters:
name - The name (in)
nAContext - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
isScratch - The isScratch (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputProperties

public IPropertySet getOutputProperties()
                                 throws java.io.IOException,
                                        AutomationException
The properties of the output.

Specified by:
getOutputProperties in interface INAResult
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasValidResult

public boolean isHasValidResult()
                         throws java.io.IOException,
                                AutomationException
Indicates if the current result is valid.

Specified by:
isHasValidResult in interface INAResult
Returns:
The pFlag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHasValidResult

public void setHasValidResult(boolean pFlag)
                       throws java.io.IOException,
                              AutomationException
Indicates if the current result is valid.

Specified by:
setHasValidResult in interface INAResult
Parameters:
pFlag - The pFlag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

emptyAll

public void emptyAll()
              throws java.io.IOException,
                     AutomationException
Clear out all existing rows from any previous analysis.

Specified by:
emptyAll in interface INAResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the result.

Specified by:
getName in interface INAResult
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNAContext

public INAContext getNAContext()
                        throws java.io.IOException,
                               AutomationException
The context for the result.

Specified by:
getNAContext in interface INAResult
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAContext
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public void create(java.lang.String name,
                   INAContextHelper nAContextHelper,
                   boolean isScratch)
            throws java.io.IOException,
                   AutomationException
Set up for a new analysis.

Specified by:
create in interface INAResult2
Parameters:
name - The name (in)
nAContextHelper - A reference to a com.esri.arcgis.networkanalyst.INAContextHelper (in)
isScratch - The isScratch (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeEx

public void initializeEx(INAContextHelper nAContextHelper)
                  throws java.io.IOException,
                         AutomationException
Provides the result object with a reference to the context.

Specified by:
initializeEx in interface INAResult2
Parameters:
nAContextHelper - A reference to a com.esri.arcgis.networkanalyst.INAContextHelper (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceCount

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

Specified by:
getSourceCount in interface INATraversalResult
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_getSource

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

Specified by:
esri_getSource in interface INATraversalResult
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

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

Specified by:
getSourceByName in interface INATraversalResult
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

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

Specified by:
getSourceByID in interface INATraversalResult
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

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

Specified by:
addSource in interface INATraversalResult
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

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

Specified by:
create in interface INATraversalResult
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

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

Specified by:
getSpatialReference in interface INATraversalResult
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

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

Specified by:
isHasGeometry in interface INATraversalResult
Returns:
The hasGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startEditing

public void startEditing()
                  throws java.io.IOException,
                         AutomationException
Starts editing the result..

Specified by:
startEditing in interface INATraversalResultEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditing

public void stopEditing()
                 throws java.io.IOException,
                        AutomationException
Stops editing the result.

Specified by:
stopEditing in interface INATraversalResultEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

inferGeometry

public void inferGeometry(java.lang.String sourceName,
                          IEnvelope envelope,
                          ITrackCancel trackCancel)
                   throws java.io.IOException,
                          AutomationException
Constructs the geometry for the result.

Specified by:
inferGeometry in interface INATraversalResultEdit
Parameters:
sourceName - The sourceName (in)
envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createJunction

public int createJunction(int sourceID,
                          int sourceOID,
                          IPoint point)
                   throws java.io.IOException,
                          AutomationException
Make a new junction in the result.

Specified by:
createJunction in interface INATraversalResultEdit
Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The elementID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createEdge

public int createEdge(int sourceID,
                      int sourceOID,
                      double fromPosition,
                      double toPosition,
                      int fromJunctionID,
                      int toJunctionID,
                      IPolyline polyline)
               throws java.io.IOException,
                      AutomationException
Make a new edge in the result.

Specified by:
createEdge in interface INATraversalResultEdit
Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
fromJunctionID - The fromJunctionID (in)
toJunctionID - The toJunctionID (in)
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
Returns:
The elementID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSimpleTurn

public int createSimpleTurn(int sourceID,
                            int sourceOID,
                            int fromEdgeID,
                            int toEdgeID)
                     throws java.io.IOException,
                            AutomationException
Make a new two edge turn in the result.

Specified by:
createSimpleTurn in interface INATraversalResultEdit
Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
fromEdgeID - The fromEdgeID (in)
toEdgeID - The toEdgeID (in)
Returns:
The elementID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeJunctionBuffer

public void writeJunctionBuffer(IFeatureBuffer featureBuffer,
                                int sourceID,
                                int sourceOID,
                                IPoint point)
                         throws java.io.IOException,
                                AutomationException
Make a new junction in the result from the feature buffer.

Specified by:
writeJunctionBuffer in interface INATraversalResultEdit
Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeEdgeBuffer

public void writeEdgeBuffer(IFeatureBuffer featureBuffer,
                            int sourceID,
                            int sourceOID,
                            double fromPosition,
                            double toPosition,
                            int fromJunctionID,
                            int toJunctionID,
                            IPolyline polyline)
                     throws java.io.IOException,
                            AutomationException
Make a new edge in the result from the feature buffer.

Specified by:
writeEdgeBuffer in interface INATraversalResultEdit
Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
fromJunctionID - The fromJunctionID (in)
toJunctionID - The toJunctionID (in)
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeSimpleTurnBuffer

public void writeSimpleTurnBuffer(IFeatureBuffer featureBuffer,
                                  int sourceID,
                                  int sourceOID,
                                  int fromEdgeID,
                                  int toEdgeID)
                           throws java.io.IOException,
                                  AutomationException
Make a new two part turn in the result from the feature buffer.

Specified by:
writeSimpleTurnBuffer in interface INATraversalResultEdit
Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
fromEdgeID - The fromEdgeID (in)
toEdgeID - The toEdgeID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createJunctionEx

public int createJunctionEx(int sourceID,
                            int sourceOID,
                            int eID,
                            IPoint point)
                     throws java.io.IOException,
                            AutomationException
Make a new junction in the result.

Specified by:
createJunctionEx in interface INATraversalResultEdit2
Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The elementID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createEdgeEx

public int createEdgeEx(int sourceID,
                        int sourceOID,
                        int eID,
                        double fromPosition,
                        double toPosition,
                        int fromJunctionID,
                        int toJunctionID,
                        IPolyline polyline)
                 throws java.io.IOException,
                        AutomationException
Make a new edge in the result.

Specified by:
createEdgeEx in interface INATraversalResultEdit2
Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
fromJunctionID - The fromJunctionID (in)
toJunctionID - The toJunctionID (in)
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
Returns:
The elementID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSimpleTurnEx

public int createSimpleTurnEx(int sourceID,
                              int sourceOID,
                              int eID,
                              int fromEdgeID,
                              int toEdgeID)
                       throws java.io.IOException,
                              AutomationException
Make a new two edge turn in the result.

Specified by:
createSimpleTurnEx in interface INATraversalResultEdit2
Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromEdgeID - The fromEdgeID (in)
toEdgeID - The toEdgeID (in)
Returns:
The elementID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeJunctionBufferEx

public void writeJunctionBufferEx(IFeatureBuffer featureBuffer,
                                  int sourceID,
                                  int sourceOID,
                                  int eID,
                                  IPoint point)
                           throws java.io.IOException,
                                  AutomationException
Make a new junction in the result from the feature buffer.

Specified by:
writeJunctionBufferEx in interface INATraversalResultEdit2
Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeEdgeBufferEx

public void writeEdgeBufferEx(IFeatureBuffer featureBuffer,
                              int sourceID,
                              int sourceOID,
                              int eID,
                              double fromPosition,
                              double toPosition,
                              int fromJunctionID,
                              int toJunctionID,
                              IPolyline polyline)
                       throws java.io.IOException,
                              AutomationException
Make a new edge in the result from the feature buffer.

Specified by:
writeEdgeBufferEx in interface INATraversalResultEdit2
Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
fromJunctionID - The fromJunctionID (in)
toJunctionID - The toJunctionID (in)
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeSimpleTurnBufferEx

public void writeSimpleTurnBufferEx(IFeatureBuffer featureBuffer,
                                    int sourceID,
                                    int sourceOID,
                                    int eID,
                                    int fromEdgeID,
                                    int toEdgeID)
                             throws java.io.IOException,
                                    AutomationException
Make a new two part turn in the result from the feature buffer.

Specified by:
writeSimpleTurnBufferEx in interface INATraversalResultEdit2
Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromEdgeID - The fromEdgeID (in)
toEdgeID - The toEdgeID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureClass

public IFeatureClass getFeatureClass(int networkElementType)
                              throws java.io.IOException,
                                     AutomationException
The feature class by element type.

Specified by:
getFeatureClass in interface INATraversalResultQuery
Parameters:
networkElementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchConnected

public IFeatureCursor searchConnected(INATraversalResultElement element,
                                      int searchedElementType,
                                      int searchedDirection,
                                      boolean recycle)
                               throws java.io.IOException,
                                      AutomationException
Returns a connected set of elements in the result.

Specified by:
searchConnected in interface INATraversalResultQuery
Parameters:
element - A reference to a com.esri.arcgis.networkanalyst.INATraversalResultElement (in)
searchedElementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
searchedDirection - A com.esri.arcgis.geodatabase.esriRelDirection constant (in)
recycle - The recycle (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementIDFieldName

public java.lang.String getElementIDFieldName()
                                       throws java.io.IOException,
                                              AutomationException
The element ID field name.

Specified by:
getElementIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceIDFieldName

public java.lang.String getSourceIDFieldName()
                                      throws java.io.IOException,
                                             AutomationException
The source ID field name.

Specified by:
getSourceIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceOIDFieldName

public java.lang.String getSourceOIDFieldName()
                                       throws java.io.IOException,
                                              AutomationException
The source OID field name.

Specified by:
getSourceOIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromPositionFieldName

public java.lang.String getFromPositionFieldName()
                                          throws java.io.IOException,
                                                 AutomationException
The from position field name.

Specified by:
getFromPositionFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToPositionFieldName

public java.lang.String getToPositionFieldName()
                                        throws java.io.IOException,
                                               AutomationException
The to position field name.

Specified by:
getToPositionFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromJunctionIDFieldName

public java.lang.String getFromJunctionIDFieldName()
                                            throws java.io.IOException,
                                                   AutomationException
The from junction ID field name.

Specified by:
getFromJunctionIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToJunctionIDFieldName

public java.lang.String getToJunctionIDFieldName()
                                          throws java.io.IOException,
                                                 AutomationException
The to junction ID field name.

Specified by:
getToJunctionIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromEdgeIDFieldName

public java.lang.String getFromEdgeIDFieldName()
                                        throws java.io.IOException,
                                               AutomationException
The from edge ID field name.

Specified by:
getFromEdgeIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToEdgeIDFieldName

public java.lang.String getToEdgeIDFieldName()
                                      throws java.io.IOException,
                                             AutomationException
The to edge ID field name.

Specified by:
getToEdgeIDFieldName in interface INATraversalResultQuery
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEIDFieldName

public java.lang.String getEIDFieldName()
                                 throws java.io.IOException,
                                        AutomationException
The EID field name

Specified by:
getEIDFieldName in interface INATraversalResultQuery2
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException