com.esri.arcgis.networkanalyst
Class NAVRPResult

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NAVRPResult
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INAResult, INAResult2, INAVRPResult, IPersist, IPersistStream, java.io.Externalizable, java.io.Serializable

public class NAVRPResult
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INAResult, INAResult2, INAVRPResult, IPersistStream, java.io.Externalizable

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

Description 'Contains a VRP 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 =

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.INAVRPResult
IID, IIDcd299d0c_68ec_4c48_92db_d5653d92654d, 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
NAVRPResult()
          Constructs a NAVRPResult using ArcGIS Engine.
NAVRPResult(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAVRPResult theNAVRPResult = (NAVRPResult) obj;
 
Method Summary
 void create(java.lang.String name, INAContextHelper nAContextHelper, boolean isScratch)
          Set up for a new analysis.
 void emptyAll()
          Clear out all existing rows from any previous analysis.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 INAODCostMatrix getInternalODCostMatrix()
          The internal OD cost matrix.
 INAContext getInternalRouteContext()
          The NAContext for the internal route problem.
 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
 int hashCode()
          the hashcode for this object
 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 isHasValidResult()
          Indicates if the current result is valid.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a NAVRPResult.
 void save(IStream pstm, int fClearDirty)
          save
 void setHasValidResult(boolean pFlag)
          Indicates if the current result is valid.
 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

NAVRPResult

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

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

NAVRPResult

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

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

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

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.

getInternalODCostMatrix

public INAODCostMatrix getInternalODCostMatrix()
                                        throws java.io.IOException,
                                               AutomationException
The internal OD cost matrix.

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

getInternalRouteContext

public INAContext getInternalRouteContext()
                                   throws java.io.IOException,
                                          AutomationException
The NAContext for the internal route problem.

Specified by:
getInternalRouteContext in interface INAVRPResult
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.

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