|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetElements
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
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isValidElement(int eID, int elementType) throws IOException, AutomationException
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.int getEID(int userClassID, int userID, int userSubID, int elementType) throws IOException, AutomationException
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.int getEIDCount(int userClassID, int userID, int elementType) throws IOException, AutomationException
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.IEnumNetEID getEIDs(int userClassID, int userID, int elementType) throws IOException, AutomationException
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.void queryIDs(int eID, int elementType, int[] userClassID, int[] userID, int[] userSubID) throws IOException, AutomationException
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 |