com.esri.arcgis.networkanalysis
Class INetElementBarriers2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalysis.INetElementBarriersProxy
          extended by com.esri.arcgis.networkanalysis.INetElementBarriers2Proxy
All Implemented Interfaces:
INetElementBarriers, INetElementBarriers2, java.io.Externalizable, java.io.Serializable

public class INetElementBarriers2Proxy
extends INetElementBarriersProxy
implements INetElementBarriers2, java.io.Serializable

Internal use class Proxy for COM Interface 'INetElementBarriers2'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'

Description: 'Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver 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 =

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.networkanalysis.INetElementBarriers2
IID, IIDf187bbf8_59b1_11d4_a682_0008c7d3bbfa
 
Fields inherited from interface com.esri.arcgis.networkanalysis.INetElementBarriers
IID803b5ff0_0ab3_11d1_9cd6_00805f74d243
 
Constructor Summary
  INetElementBarriers2Proxy()
          For internal use only
  INetElementBarriers2Proxy(java.lang.Object obj)
           
protected INetElementBarriers2Proxy(java.lang.Object obj, java.lang.String iid)
           
  INetElementBarriers2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INetElementBarriers2Proxy(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 removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setBarriersByEID(int count, int[] eIDs)
          Specifies a set of network element IDs to use as barriers.
 
Methods inherited from class com.esri.arcgis.networkanalysis.INetElementBarriersProxy
getElementType, getNetwork, setBarriers, setElementType, setNetworkByRef
 
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.networkanalysis.INetElementBarriers
getElementType, getNetwork, setBarriers, setElementType, setNetworkByRef
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

INetElementBarriers2Proxy

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

INetElementBarriers2Proxy

public INetElementBarriers2Proxy()
For internal use only


INetElementBarriers2Proxy

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

INetElementBarriers2Proxy

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

INetElementBarriers2Proxy

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

removeListener

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

setBarriersByEID

public void setBarriersByEID(int count,
                             int[] eIDs)
                      throws java.io.IOException,
                             AutomationException
Specifies a set of network element IDs to use as barriers.

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