|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.INetElementsProxy
public class INetElementsProxy
Provides access to members that convert between user IDs and network element IDs (EIDs).
Each element in a logical network has a unique Element ID (EID). The EID can be accessed by providing the following three IDs: UserClassID, UserID, and UserSubID. If the network is part of a geometric network, the UserClassID and UserID correspond to the FeatureClassID and OID of the feature. The UserSubID is the ID of the subelement of the feature.
INetElementDescription
,
INetElementDescriptionEdit
,
INetElementClass
,
INetElements
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetElementsProxy()
|
|
INetElementsProxy(Object obj)
|
protected |
INetElementsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
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(String iidStr,
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public INetElementsProxy()
public INetElementsProxy(Object obj) throws IOException
IOException
protected INetElementsProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public boolean isValidElement(int eID, int elementType) throws IOException, AutomationException
isValidElement
in interface INetElements
eID
- The eID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEID(int userClassID, int userID, int userSubID, int elementType) throws IOException, AutomationException
getEID
in interface INetElements
userClassID
- The userClassID (in)userID
- The userID (in)userSubID
- The userSubID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEIDCount(int userClassID, int userID, int elementType) throws IOException, AutomationException
getEIDCount
in interface INetElements
userClassID
- The userClassID (in)userID
- The userID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumNetEID getEIDs(int userClassID, int userID, int elementType) throws IOException, AutomationException
getEIDs
in interface INetElements
userClassID
- The userClassID (in)userID
- The userID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryIDs(int eID, int elementType, int[] userClassID, int[] userID, int[] userSubID) throws IOException, AutomationException
queryIDs
in interface INetElements
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |