com.esri.arcgis.networkanalyst
Class INAODCostMatrixProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalyst.INAODCostMatrixProxy
All Implemented Interfaces:
INAODCostMatrix, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'INAODCostMatrix'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to the OD cost matrix object.' 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 =

public class INAODCostMatrixProxy
extends com.esri.arcgis.interop.Dispatch
implements INAODCostMatrix, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAODCostMatrix
IID, IID640f6408_3868_4990_8699_cde0042f5d17
 
Constructor Summary
  INAODCostMatrixProxy()
          Deprecated. For internal use only
  INAODCostMatrixProxy(java.lang.Object obj)
          Deprecated.  
protected INAODCostMatrixProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  INAODCostMatrixProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected INAODCostMatrixProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 int findDestinationIndex(INALocation location, int curbApproach)
          Deprecated. Finds the destination corresponding to the given network location.
 int findOriginIndex(INALocation location, int curbApproach)
          Deprecated. Finds the origin corresponding to the given network location.
 IStringArray getCostAttributeNames()
          Deprecated. The names of the network cost attributes.
 double getDefaultValue(int attributeIndex)
          Deprecated. The value returned for un-populated matrix enteries.
 int getDestinationCount()
          Deprecated. The number of destination locations.
 int getDestinationIndexByRank(int originIndex, int rank)
          Deprecated. For a given origin, retrieves the index of the populated destination for a given rank.
 IName getNetworkDatasetName()
          Deprecated. The name of the network dataset.
 int getOriginCount()
          Deprecated. The number of origin locations.
 int getPopulatedDestinationCount(int originIndex)
          Deprecated. For a given origin, retrieves the number of destinations with populated matrix values.
 int getRankingAttributeIndex()
          Deprecated. The index of the cost attribute used to rank the populated destinations for each origin.
 double getValue(int originIndex, int destinationIndex, int attributeIndex)
          Deprecated. Retrieves the cost value for a given origin and destination.
 boolean isAreOriginsIdenticalToDestinations()
          Deprecated. Indicates if the origin set is identical to the destination set, i.e.
 boolean isHasRankingAttribute()
          Deprecated. Indicates if the matrix has an attribute for ranking values.
 boolean isPopulated(int originIndex, int destinationIndex)
          Deprecated. Indicates if the matrix entry for given origin, destination index is populated.
 boolean isSymmetric()
          Deprecated. Indicates if the matrix has symmetric values.
 void queryPopulatedDestinationIndices(int originIndex, ILongArray[] destinationIndices)
          Deprecated. For a given origin, retrieves the indices of populated destinations.
 void queryRankedDestinationIndices(int originIndex, ILongArray[] destinationIndices)
          Deprecated. For a given origin, retrieves the indices of the populated destinations in increasing rank.
 void queryValues(int originIndex, int destinationIndex, IDoubleArray[] values)
          Deprecated. Retrieves the cost values of all cost attributes for the given origin and destination.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

INAODCostMatrixProxy

public INAODCostMatrixProxy(java.lang.String CLSID,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

INAODCostMatrixProxy

public INAODCostMatrixProxy()
Deprecated. 
For internal use only


INAODCostMatrixProxy

public INAODCostMatrixProxy(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

INAODCostMatrixProxy

protected INAODCostMatrixProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

INAODCostMatrixProxy

protected INAODCostMatrixProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getNetworkDatasetName

public IName getNetworkDatasetName()
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
The name of the network dataset.

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

getCostAttributeNames

public IStringArray getCostAttributeNames()
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
The names of the network cost attributes.

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

getOriginCount

public int getOriginCount()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The number of origin locations.

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

getDestinationCount

public int getDestinationCount()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The number of destination locations.

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

isAreOriginsIdenticalToDestinations

public boolean isAreOriginsIdenticalToDestinations()
                                            throws java.io.IOException,
                                                   AutomationException
Deprecated. 
Indicates if the origin set is identical to the destination set, i.e. that every origin network location also exists as a destination network location.

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

isSymmetric

public boolean isSymmetric()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Indicates if the matrix has symmetric values.

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

findOriginIndex

public int findOriginIndex(INALocation location,
                           int curbApproach)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Finds the origin corresponding to the given network location.

Specified by:
findOriginIndex in interface INAODCostMatrix
Parameters:
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
curbApproach - A com.esri.arcgis.networkanalyst.esriNACurbApproachType constant (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findDestinationIndex

public int findDestinationIndex(INALocation location,
                                int curbApproach)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Finds the destination corresponding to the given network location.

Specified by:
findDestinationIndex in interface INAODCostMatrix
Parameters:
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
curbApproach - A com.esri.arcgis.networkanalyst.esriNACurbApproachType constant (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultValue

public double getDefaultValue(int attributeIndex)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
The value returned for un-populated matrix enteries.

Specified by:
getDefaultValue in interface INAODCostMatrix
Parameters:
attributeIndex - The attributeIndex (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPopulatedDestinationCount

public int getPopulatedDestinationCount(int originIndex)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
For a given origin, retrieves the number of destinations with populated matrix values.

Specified by:
getPopulatedDestinationCount in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPopulatedDestinationIndices

public void queryPopulatedDestinationIndices(int originIndex,
                                             ILongArray[] destinationIndices)
                                      throws java.io.IOException,
                                             AutomationException
Deprecated. 
For a given origin, retrieves the indices of populated destinations.

Specified by:
queryPopulatedDestinationIndices in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
destinationIndices - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPopulated

public boolean isPopulated(int originIndex,
                           int destinationIndex)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Indicates if the matrix entry for given origin, destination index is populated.

Specified by:
isPopulated in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
destinationIndex - The destinationIndex (in)
Returns:
The isPopulated
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasRankingAttribute

public boolean isHasRankingAttribute()
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
Indicates if the matrix has an attribute for ranking values.

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

getRankingAttributeIndex

public int getRankingAttributeIndex()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
The index of the cost attribute used to rank the populated destinations for each origin.

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

getDestinationIndexByRank

public int getDestinationIndexByRank(int originIndex,
                                     int rank)
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
For a given origin, retrieves the index of the populated destination for a given rank. The index is returned only if the HasRankingAttribute is true.

Specified by:
getDestinationIndexByRank in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
rank - The rank (in)
Returns:
The destinationIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryRankedDestinationIndices

public void queryRankedDestinationIndices(int originIndex,
                                          ILongArray[] destinationIndices)
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
For a given origin, retrieves the indices of the populated destinations in increasing rank.

Specified by:
queryRankedDestinationIndices in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
destinationIndices - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public double getValue(int originIndex,
                       int destinationIndex,
                       int attributeIndex)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Retrieves the cost value for a given origin and destination. The attribute index is with respect to the array of cost attribute names returned by CostAttributeNames.

Specified by:
getValue in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
destinationIndex - The destinationIndex (in)
attributeIndex - The attributeIndex (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryValues

public void queryValues(int originIndex,
                        int destinationIndex,
                        IDoubleArray[] values)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Retrieves the cost values of all cost attributes for the given origin and destination.

Specified by:
queryValues in interface INAODCostMatrix
Parameters:
originIndex - The originIndex (in)
destinationIndex - The destinationIndex (in)
values - A reference to a com.esri.arcgis.system.IDoubleArray (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.