com.esri.arcgis.geodatabase
Class INetElementsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INetElementsProxy
All Implemented Interfaces:
INetElements, java.io.Externalizable, java.io.Serializable

public class INetElementsProxy
extends com.esri.arcgis.interop.Dispatch
implements INetElements, java.io.Serializable

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

Description: 'Provides access to members that convert between user IDs and network element IDs (EIDs).' 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.INetElements
IID, IID5db91db3_afb4_11d0_9ccd_00805f74d243
 
Constructor Summary
  INetElementsProxy()
          For internal use only
  INetElementsProxy(java.lang.Object obj)
           
protected INetElementsProxy(java.lang.Object obj, java.lang.String iid)
           
  INetElementsProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INetElementsProxy(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)
           
 int getEID(int userClassID, int userID, int userSubID, int elementType)
          Returns the network element ID (EID).
 int getEIDCount(int userClassID, int userID, int elementType)
          Returns the number of network element IDs (EIDs) corresponding to the specified user class ID and user ID.
 IEnumNetEID getEIDs(int userClassID, int userID, int elementType)
          Returns the network element IDs (EIDs) corresponding to the specified user classID and user ID.
 boolean isValidElement(int eID, int elementType)
          Returns whether the specified element is part of the network.
 void queryIDs(int eID, int elementType, int[] userClassID, int[] userID, int[] userSubID)
          Returns the user class ID, user ID, and user sub ID for the specified network element.
 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

INetElementsProxy

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

INetElementsProxy

public INetElementsProxy()
For internal use only


INetElementsProxy

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

INetElementsProxy

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

INetElementsProxy

protected INetElementsProxy(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

isValidElement

public boolean isValidElement(int eID,
                              int elementType)
                       throws java.io.IOException,
                              AutomationException
Returns whether the specified element is part of the network.

Specified by:
isValidElement in interface INetElements
Parameters:
eID - The eID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Returns:
The validState
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEID

public int getEID(int userClassID,
                  int userID,
                  int userSubID,
                  int elementType)
           throws java.io.IOException,
                  AutomationException
Returns the network element ID (EID).

Specified by:
getEID in interface INetElements
Parameters:
userClassID - The userClassID (in)
userID - The userID (in)
userSubID - The userSubID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Returns:
The eID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEIDCount

public int getEIDCount(int userClassID,
                       int userID,
                       int elementType)
                throws java.io.IOException,
                       AutomationException
Returns the number of network element IDs (EIDs) corresponding to the specified user class ID and user ID.

Specified by:
getEIDCount in interface INetElements
Parameters:
userClassID - The userClassID (in)
userID - The userID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Returns:
The eIDCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEIDs

public IEnumNetEID getEIDs(int userClassID,
                           int userID,
                           int elementType)
                    throws java.io.IOException,
                           AutomationException
Returns the network element IDs (EIDs) corresponding to the specified user classID and user ID.

Specified by:
getEIDs in interface INetElements
Parameters:
userClassID - The userClassID (in)
userID - The userID (in)
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.

queryIDs

public void queryIDs(int eID,
                     int elementType,
                     int[] userClassID,
                     int[] userID,
                     int[] userSubID)
              throws java.io.IOException,
                     AutomationException
Returns the user class ID, user ID, and user sub ID for the specified network element.

Specified by:
queryIDs in interface INetElements
Parameters:
eID - The eID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
userClassID - The userClassID (out: use single element array)
userID - The userID (out: use single element array)
userSubID - The userSubID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.