|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.networkanalyst.NAODCostMatrixResult
public class NAODCostMatrixResult
COM Class 'NAODCostMatrixResult'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'
Description 'Contains an origin-destination cost matrix.' 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 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.INAODCostMatrix |
|---|
IID, IID640f6408_3868_4990_8699_cde0042f5d17, xxDummy |
| Fields inherited from interface com.esri.arcgis.networkanalyst.INAODCostMatrixResult |
|---|
IID, IID0cfd38da_a7fc_4163_a5e6_a0bd229297e7, 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 | |
|---|---|
NAODCostMatrixResult()
Constructs a NAODCostMatrixResult using ArcGIS Engine. |
|
NAODCostMatrixResult(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAODCostMatrixResult theNAODCostMatrixResult = (NAODCostMatrixResult) 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 |
int |
findDestinationIndex(INALocation location,
int curbApproach)
Finds the destination corresponding to the given network location. |
int |
findOriginIndex(INALocation location,
int curbApproach)
Finds the origin corresponding to the given network location. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
IStringArray |
getCostAttributeNames()
The names of the network cost attributes. |
double |
getDefaultValue(int attributeIndex)
The value returned for un-populated matrix enteries. |
int |
getDestinationCount()
The number of destination locations. |
int |
getDestinationIndexByRank(int originIndex,
int rank)
For a given origin, retrieves the index of the populated destination for a given rank. |
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. |
IName |
getNetworkDatasetName()
The name of the network dataset. |
int |
getOriginCount()
The number of origin locations. |
IPropertySet |
getOutputProperties()
The properties of the output. |
int |
getPopulatedDestinationCount(int originIndex)
For a given origin, retrieves the number of destinations with populated matrix values. |
int |
getRankingAttributeIndex()
The index of the cost attribute used to rank the populated destinations for each origin. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getValue(int originIndex,
int destinationIndex,
int attributeIndex)
Retrieves the cost value for a given origin and destination. |
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. |
boolean |
isAreOriginsIdenticalToDestinations()
Indicates if the origin set is identical to the destination set, i.e. |
void |
isDirty()
isDirty |
boolean |
isHasRankingAttribute()
Indicates if the matrix has an attribute for ranking values. |
boolean |
isHasValidResult()
Indicates if the current result is valid. |
boolean |
isPopulated(int originIndex,
int destinationIndex)
Indicates if the matrix entry for given origin, destination index is populated. |
boolean |
isSaveMatrixOnPersist()
Indicates if the matrix entries are to be saved. |
boolean |
isSymmetric()
Indicates if the matrix has symmetric values. |
void |
load(IStream pstm)
load |
void |
queryPopulatedDestinationIndices(int originIndex,
ILongArray[] destinationIndices)
For a given origin, retrieves the indices of populated destinations. |
void |
queryRankedDestinationIndices(int originIndex,
ILongArray[] destinationIndices)
For a given origin, retrieves the indices of the populated destinations in increasing rank. |
void |
queryValues(int originIndex,
int destinationIndex,
IDoubleArray[] values)
Retrieves the cost values of all cost attributes for the given origin and destination. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a NAODCostMatrixResult. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setHasValidResult(boolean pFlag)
Indicates if the current result is valid. |
void |
setSaveMatrixOnPersist(boolean value)
Indicates if the matrix entries are to be saved. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public NAODCostMatrixResult()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public NAODCostMatrixResult(java.lang.Object obj)
throws java.io.IOException
NAODCostMatrixResult theNAODCostMatrixResult = (NAODCostMatrixResult) obj;
obj to NAODCostMatrixResult.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void initialize(java.lang.String name,
INAContext nAContext,
boolean isScratch)
throws java.io.IOException,
AutomationException
initialize in interface INAResultname - The name (in)nAContext - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)isScratch - The isScratch (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getOutputProperties()
throws java.io.IOException,
AutomationException
getOutputProperties in interface INAResultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasValidResult()
throws java.io.IOException,
AutomationException
isHasValidResult in interface INAResultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHasValidResult(boolean pFlag)
throws java.io.IOException,
AutomationException
setHasValidResult in interface INAResultpFlag - The pFlag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void emptyAll()
throws java.io.IOException,
AutomationException
emptyAll in interface INAResultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface INAResultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAContext getNAContext()
throws java.io.IOException,
AutomationException
getNAContext in interface INAResultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void create(java.lang.String name,
INAContextHelper nAContextHelper,
boolean isScratch)
throws java.io.IOException,
AutomationException
create in interface INAResult2name - The name (in)nAContextHelper - A reference to a com.esri.arcgis.networkanalyst.INAContextHelper (in)isScratch - The isScratch (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initializeEx(INAContextHelper nAContextHelper)
throws java.io.IOException,
AutomationException
initializeEx in interface INAResult2nAContextHelper - A reference to a com.esri.arcgis.networkanalyst.INAContextHelper (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getNetworkDatasetName()
throws java.io.IOException,
AutomationException
getNetworkDatasetName in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getCostAttributeNames()
throws java.io.IOException,
AutomationException
getCostAttributeNames in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOriginCount()
throws java.io.IOException,
AutomationException
getOriginCount in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDestinationCount()
throws java.io.IOException,
AutomationException
getDestinationCount in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAreOriginsIdenticalToDestinations()
throws java.io.IOException,
AutomationException
isAreOriginsIdenticalToDestinations in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSymmetric()
throws java.io.IOException,
AutomationException
isSymmetric in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int findOriginIndex(INALocation location,
int curbApproach)
throws java.io.IOException,
AutomationException
findOriginIndex in interface INAODCostMatrixlocation - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)curbApproach - A com.esri.arcgis.networkanalyst.esriNACurbApproachType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int findDestinationIndex(INALocation location,
int curbApproach)
throws java.io.IOException,
AutomationException
findDestinationIndex in interface INAODCostMatrixlocation - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)curbApproach - A com.esri.arcgis.networkanalyst.esriNACurbApproachType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDefaultValue(int attributeIndex)
throws java.io.IOException,
AutomationException
getDefaultValue in interface INAODCostMatrixattributeIndex - The attributeIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPopulatedDestinationCount(int originIndex)
throws java.io.IOException,
AutomationException
getPopulatedDestinationCount in interface INAODCostMatrixoriginIndex - The originIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryPopulatedDestinationIndices(int originIndex,
ILongArray[] destinationIndices)
throws java.io.IOException,
AutomationException
queryPopulatedDestinationIndices in interface INAODCostMatrixoriginIndex - The originIndex (in)destinationIndices - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPopulated(int originIndex,
int destinationIndex)
throws java.io.IOException,
AutomationException
isPopulated in interface INAODCostMatrixoriginIndex - The originIndex (in)destinationIndex - The destinationIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasRankingAttribute()
throws java.io.IOException,
AutomationException
isHasRankingAttribute in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRankingAttributeIndex()
throws java.io.IOException,
AutomationException
getRankingAttributeIndex in interface INAODCostMatrixjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDestinationIndexByRank(int originIndex,
int rank)
throws java.io.IOException,
AutomationException
getDestinationIndexByRank in interface INAODCostMatrixoriginIndex - The originIndex (in)rank - The rank (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryRankedDestinationIndices(int originIndex,
ILongArray[] destinationIndices)
throws java.io.IOException,
AutomationException
queryRankedDestinationIndices in interface INAODCostMatrixoriginIndex - The originIndex (in)destinationIndices - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getValue(int originIndex,
int destinationIndex,
int attributeIndex)
throws java.io.IOException,
AutomationException
getValue in interface INAODCostMatrixoriginIndex - The originIndex (in)destinationIndex - The destinationIndex (in)attributeIndex - The attributeIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryValues(int originIndex,
int destinationIndex,
IDoubleArray[] values)
throws java.io.IOException,
AutomationException
queryValues in interface INAODCostMatrixoriginIndex - The originIndex (in)destinationIndex - The destinationIndex (in)values - A reference to a com.esri.arcgis.system.IDoubleArray (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSaveMatrixOnPersist()
throws java.io.IOException,
AutomationException
isSaveMatrixOnPersist in interface INAODCostMatrixResultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSaveMatrixOnPersist(boolean value)
throws java.io.IOException,
AutomationException
setSaveMatrixOnPersist in interface INAODCostMatrixResultvalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||