|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetFlag
Provides access to members that specify the network element on which a flag is located.
Flags are the starting points of tracing operations on networks. Flags can either be placed on edges or junctions.
IJunctionFlag
,
IEdgeFlag
,
Once the EdgeFlag or JunctionFlag object is created, you need to get a reference to the INetFlag interface to specify to which network element the flag belongs. This requires knowing three items about a network element:
1. UserClassID - This is the ID of the feature class which the feature belongs to.
2. UserID - This is the ID of the feature within the feature class.
3. UserSubID - This is the ID of an individual element within a feature.
These three properties can be queried from an element ID (EID) by calling INetElements::QueryIDs.
The TraceFlowSolver object needs to know about this flag before it can use it in any tracing functions. Once you have created all your flags for your trace, you can add them to the TraceFlowSolver object by calling PutEdgeOrigins or PutJunctionOrigins on the ITraceFlowSolver interface.
Method Summary | |
---|---|
int |
getClientClassID()
User-specified client class ID of this flag. |
int |
getClientID()
User-specified client ID of this flag. |
String |
getLabel()
Label of this flag. |
int |
getUserClassID()
User class ID of the network element on which this flag is placed. |
int |
getUserID()
User ID of the network element on which this flag is placed. |
int |
getUserSubID()
User sub ID of the network element on which this flag is placed. |
void |
setClientClassID(int clientClassID)
User-specified client class ID of this flag. |
void |
setClientID(int clientID)
User-specified client ID of this flag. |
void |
setLabel(String label)
Label of this flag. |
void |
setUserClassID(int userClassID)
User class ID of the network element on which this flag is placed. |
void |
setUserID(int userID)
User ID of the network element on which this flag is placed. |
void |
setUserSubID(int userID)
User sub ID of the network element on which this flag is placed. |
Method Detail |
---|
String getLabel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabel(String label) throws IOException, AutomationException
label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUserClassID() throws IOException, AutomationException
The UserClassID must be a positive integer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUserClassID(int userClassID) throws IOException, AutomationException
The UserClassID must be a positive integer.
userClassID
- The userClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUserID() throws IOException, AutomationException
The UserID must be a positive integer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUserID(int userID) throws IOException, AutomationException
The UserID must be a positive integer.
userID
- The userID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUserSubID() throws IOException, AutomationException
The UserSubID must be a non-negative integer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUserSubID(int userID) throws IOException, AutomationException
The UserSubID must be a non-negative integer.
userID
- The userID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setClientClassID(int clientClassID) throws IOException, AutomationException
clientClassID
- The clientClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getClientClassID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setClientID(int clientID) throws IOException, AutomationException
clientID
- The clientID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getClientID() throws IOException, AutomationException
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 |