com.esri.arcgis.networkanalyst
Class NATraversalResultSource

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NATraversalResultSource
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INATraversalResultSource, IPersist, IPersistStream, java.io.Externalizable, java.io.Serializable

public class NATraversalResultSource
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INATraversalResultSource, IPersistStream, java.io.Externalizable

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

Description 'Traversal results for a particular source.' 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.INATraversalResultSource
IID, IID035681ec_2ee1_4835_9086_c8670bb1854f, xxDummy
 
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
NATraversalResultSource()
          Constructs a NATraversalResultSource using ArcGIS Engine.
NATraversalResultSource(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NATraversalResultSource theNATraversalResultSource = (NATraversalResultSource) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 int getElementType()
          The network element type.
 int getID()
          The result source ID.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IDatasetName getLocation()
          The result source location.
 java.lang.String getName()
          The result source name.
 int getResultSourceType()
          The result source type.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 ITable getTable()
          The result source table.
 int hashCode()
          the hashcode for this object
 void isDirty()
          isDirty
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a NATraversalResultSource.
 void save(IStream pstm, int fClearDirty)
          save
 void setElementType(int networkElementType)
          The network element type.
 void setLocationByRef(IDatasetName name)
          The result source location.
 void setName(java.lang.String name)
          The result source name.
 void setResultSourceType(int sourceType)
          The result source type.
 void writeExternal(java.io.ObjectOutput out)
           
 
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

NATraversalResultSource

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

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

NATraversalResultSource

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

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

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 NATraversalResultSource.

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

setElementType

public void setElementType(int networkElementType)
                    throws java.io.IOException,
                           AutomationException
The network element type.

Specified by:
setElementType in interface INATraversalResultSource
Parameters:
networkElementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementType

public int getElementType()
                   throws java.io.IOException,
                          AutomationException
The network element type.

Specified by:
getElementType in interface INATraversalResultSource
Returns:
A com.esri.arcgis.geodatabase.esriNetworkElementType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
The result source name.

Specified by:
setName in interface INATraversalResultSource
Parameters:
name - The name (in)
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 result source name.

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

setResultSourceType

public void setResultSourceType(int sourceType)
                         throws java.io.IOException,
                                AutomationException
The result source type.

Specified by:
setResultSourceType in interface INATraversalResultSource
Parameters:
sourceType - A com.esri.arcgis.networkanalyst.esriNATraversalResultSourceType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResultSourceType

public int getResultSourceType()
                        throws java.io.IOException,
                               AutomationException
The result source type.

Specified by:
getResultSourceType in interface INATraversalResultSource
Returns:
A com.esri.arcgis.networkanalyst.esriNATraversalResultSourceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
The result source ID.

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

setLocationByRef

public void setLocationByRef(IDatasetName name)
                      throws java.io.IOException,
                             AutomationException
The result source location.

Specified by:
setLocationByRef in interface INATraversalResultSource
Parameters:
name - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocation

public IDatasetName getLocation()
                         throws java.io.IOException,
                                AutomationException
The result source location.

Specified by:
getLocation in interface INATraversalResultSource
Returns:
A reference to a com.esri.arcgis.geodatabase.IDatasetName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTable

public ITable getTable()
                throws java.io.IOException,
                       AutomationException
The result source table.

Specified by:
getTable in interface INATraversalResultSource
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
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