com.esri.arcgis.geodatabase
Class IUtilityNetworkProxy

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

public class IUtilityNetworkProxy
extends INetworkProxy
implements IUtilityNetwork, java.io.Serializable

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

Description: 'Provides access to members that get and set flow direction in a utility network.' 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.IUtilityNetwork
IID, IID19f99c84_a089_11d0_9cc9_00805f74d243
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetwork
IID19f99c80_a089_11d0_9cc9_00805f74d243
 
Constructor Summary
  IUtilityNetworkProxy()
          For internal use only
  IUtilityNetworkProxy(java.lang.Object obj)
           
protected IUtilityNetworkProxy(java.lang.Object obj, java.lang.String iid)
           
  IUtilityNetworkProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IUtilityNetworkProxy(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)
           
 void establishFlowDirection(int sourceCount, int[] sourceEIDs, int sinkCount, int[] sinkEIDs)
          Sets the flow direction of all edge elements based on the placement of sources and sinks.
 int getFlowDirection(int edgeEID)
          Returns the flow direction of the specified edge element.
 boolean isValidFlowDirection()
          Indicates if the flow direction is valid for this utility network.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setFlowDirection(int edgeEID, int flowDirection)
          Sets the flow direction for the specified edge element.
 
Methods inherited from class com.esri.arcgis.geodatabase.INetworkProxy
createForwardStar, createNetBrowser, getEdgeCount, getJunctionCount, getMaxDegree, getMaxTurn, getStatus, getTurnCount
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetwork
createForwardStar, createNetBrowser, getEdgeCount, getJunctionCount, getMaxDegree, getMaxTurn, getStatus, getTurnCount
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IUtilityNetworkProxy

public IUtilityNetworkProxy(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

IUtilityNetworkProxy

public IUtilityNetworkProxy()
For internal use only


IUtilityNetworkProxy

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

IUtilityNetworkProxy

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

IUtilityNetworkProxy

protected IUtilityNetworkProxy(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 INetworkProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class INetworkProxy
Throws:
java.io.IOException

isValidFlowDirection

public boolean isValidFlowDirection()
                             throws java.io.IOException,
                                    AutomationException
Indicates if the flow direction is valid for this utility network.

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

getFlowDirection

public int getFlowDirection(int edgeEID)
                     throws java.io.IOException,
                            AutomationException
Returns the flow direction of the specified edge element.

Specified by:
getFlowDirection in interface IUtilityNetwork
Parameters:
edgeEID - The edgeEID (in)
Returns:
A com.esri.arcgis.geodatabase.esriFlowDirection constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFlowDirection

public void setFlowDirection(int edgeEID,
                             int flowDirection)
                      throws java.io.IOException,
                             AutomationException
Sets the flow direction for the specified edge element.

Specified by:
setFlowDirection in interface IUtilityNetwork
Parameters:
edgeEID - The edgeEID (in)
flowDirection - A com.esri.arcgis.geodatabase.esriFlowDirection constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

establishFlowDirection

public void establishFlowDirection(int sourceCount,
                                   int[] sourceEIDs,
                                   int sinkCount,
                                   int[] sinkEIDs)
                            throws java.io.IOException,
                                   AutomationException
Sets the flow direction of all edge elements based on the placement of sources and sinks.

Specified by:
establishFlowDirection in interface IUtilityNetwork
Parameters:
sourceCount - The sourceCount (in)
sourceEIDs - The sourceEIDs (in)
sinkCount - The sinkCount (in)
sinkEIDs - The sinkEIDs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.