|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INetElementBarriersGEN
Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver object.
Sets of junction barriers and edge barriers should be created seperately.
| Method Summary | |
|---|---|
int |
getElementType()
Type of network element on which the barriers are placed. |
INetwork |
getNetwork()
Network on which the barrier set is placed. |
void |
setBarriers(int userClassID,
int[] userIDs)
Specifies a set of network features to use as barriers. |
void |
setBarriersByEID(int[] eIDs)
Specifies a set of network element IDs to use as barriers. |
void |
setElementType(int elementType)
Type of network element on which the barriers are placed. |
void |
setNetworkByRef(INetwork network)
Network on which the barrier set is placed. |
| Method Detail |
|---|
void setNetworkByRef(INetwork network)
throws IOException,
AutomationException
network - A reference to a com.esri.arcgis.geodatabase.INetwork (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INetwork getNetwork()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setElementType(int elementType)
throws IOException,
AutomationException
Barriers can be placed on either edge or junction elements.
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getElementType()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setBarriers(int userClassID,
int[] userIDs)
throws IOException,
AutomationException
The Network and ElementType properties must be set before calling SetBarriers.
userClassID - The userClassID (in)userIDs - The userIDs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setBarriersByEID(int[] eIDs)
throws IOException,
AutomationException
The Network and ElementType properties must be set before calling SetBarriersByEID.
If there are values in the array that do not correspond to a valid EID in the specified Network, then the NetElementBarriers object simply ignores these values.
eIDs - The eIDs (in)
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 | ||||||||