com.esri.arcgis.geodatabase
Class INetworkProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INetworkProxy
All Implemented Interfaces:
INetwork, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IStreetNetworkProxy, IUtilityNetworkGENProxy, IUtilityNetworkProxy

public class INetworkProxy
extends com.esri.arcgis.interop.Dispatch
implements INetwork, java.io.Serializable

Internal use class Proxy for COM Interface 'INetwork'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that give general information about the network and its elements.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.geodatabase.INetwork
IID, IID19f99c80_a089_11d0_9cc9_00805f74d243
 
Constructor Summary
  INetworkProxy()
          For internal use only
  INetworkProxy(java.lang.Object obj)
           
protected INetworkProxy(java.lang.Object obj, java.lang.String iid)
           
  INetworkProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INetworkProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IForwardStar createForwardStar(boolean honorState, INetWeight junctionWeight, INetWeight fromToEdgeWeight, INetWeight toFromEdgeWeight, INetWeight turnWeight)
          Creates a forward star cursor on the network index.
 IEnumNetEID createNetBrowser(int elementType)
          Creates a network index element browser.
 int getEdgeCount()
          Number of edges in the network.
 int getJunctionCount()
          Number of junctions in the network.
 int getMaxDegree()
          Maximum degree of a junction.
 int getMaxTurn()
          Maximum number of turns associated with a junction.
 int getStatus()
          Status of the network.
 int getTurnCount()
          Number of turns in the network.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

INetworkProxy

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

INetworkProxy

public INetworkProxy()
For internal use only


INetworkProxy

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

INetworkProxy

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

INetworkProxy

protected INetworkProxy(java.lang.String CLSID,
                        java.lang.String iid,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.io.IOException
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
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
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getStatus

public int getStatus()
              throws java.io.IOException,
                     AutomationException
Status of the network.

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

getJunctionCount

public int getJunctionCount()
                     throws java.io.IOException,
                            AutomationException
Number of junctions in the network.

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

getEdgeCount

public int getEdgeCount()
                 throws java.io.IOException,
                        AutomationException
Number of edges in the network.

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

getTurnCount

public int getTurnCount()
                 throws java.io.IOException,
                        AutomationException
Number of turns in the network.

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

getMaxDegree

public int getMaxDegree()
                 throws java.io.IOException,
                        AutomationException
Maximum degree of a junction.

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

getMaxTurn

public int getMaxTurn()
               throws java.io.IOException,
                      AutomationException
Maximum number of turns associated with a junction.

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

createForwardStar

public IForwardStar createForwardStar(boolean honorState,
                                      INetWeight junctionWeight,
                                      INetWeight fromToEdgeWeight,
                                      INetWeight toFromEdgeWeight,
                                      INetWeight turnWeight)
                               throws java.io.IOException,
                                      AutomationException
Creates a forward star cursor on the network index.

Specified by:
createForwardStar in interface INetwork
Parameters:
honorState - The honorState (in)
junctionWeight - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
fromToEdgeWeight - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
toFromEdgeWeight - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
turnWeight - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IForwardStar
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createNetBrowser

public IEnumNetEID createNetBrowser(int elementType)
                             throws java.io.IOException,
                                    AutomationException
Creates a network index element browser.

Specified by:
createNetBrowser in interface INetwork
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumNetEID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.