|
|||||||||
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.INetworkProxy com.esri.arcgis.geodatabase.IUtilityNetworkProxy com.esri.arcgis.geodatabase.IUtilityNetwork2Proxy
public class IUtilityNetwork2Proxy
Provides access to members that get and set flow direction in a utility network.
The only elements in a network that can have flow are edge elements. Junction elements do not have flow.
Flow is maintained in the logical network and not the geometric network. Unlike creating flags, which is done on a feature in the geometric network, changing flow direction on individual elements requires that you directly manipulate the logical network.
This operation requires that you make the network editable. You can do this either through an edit session, using the Editor, or you can use the IWorkspaceEdit interface to edit the workspace of the logical network.
Not all members are callable from Java. Please use IUtilityNetworkGEN instead.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IUtilityNetwork2Proxy()
|
|
IUtilityNetwork2Proxy(Object obj)
|
protected |
IUtilityNetwork2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
partialEstablishFlowDirection(int sourceCount,
int[] sourceEIDs,
int sinkCount,
int[] sinkEIDs)
Sets the flow direction of all reachable edge elements based on the placement of sources and sinks. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.IUtilityNetworkProxy |
---|
establishFlowDirection, getFlowDirection, isValidFlowDirection, setFlowDirection |
Methods inherited from class com.esri.arcgis.geodatabase.INetworkProxy |
---|
createForwardStar, createNetBrowser, getEdgeCount, getJunctionCount, getMaxDegree, getMaxTurn, getStatus, getTurnCount |
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 |
Methods inherited from interface com.esri.arcgis.geodatabase.IUtilityNetwork |
---|
establishFlowDirection, getFlowDirection, isValidFlowDirection, setFlowDirection |
Methods inherited from interface com.esri.arcgis.geodatabase.INetwork |
---|
createForwardStar, createNetBrowser, getEdgeCount, getJunctionCount, getMaxDegree, getMaxTurn, getStatus, getTurnCount |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IUtilityNetwork2Proxy()
public IUtilityNetwork2Proxy(Object obj) throws IOException
IOException
protected IUtilityNetwork2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IUtilityNetworkProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IUtilityNetworkProxy
IOException
public void partialEstablishFlowDirection(int sourceCount, int[] sourceEIDs, int sinkCount, int[] sinkEIDs) throws IOException, AutomationException
PartialEstablishFlowDirection will set the flow direction for the network based on the input sources (starting points) and/or sinks (collection points). In the majority of cases your network will have either sources or sinks, but not both. Having both sources and sinks in your network will often lead to indeterminate flow on the edge elements.
PartialEstablishFlowDirection is very similar to IUtilityNetwork::EstablishFlowDirection. The difference is in those edge elements that cannot be reached from the specified sources and/or sinks. In EstablishFlowDirection, these edges will be set to uninitialized flow. In PartialEstablishFlowDirection, these unreachable edges will retain their original flow direction value.
The flow direction established on the edges will be based on these possible values:
esriFDAgainstFlow
esriFDIndeterminate
esriFDUninitialized
esriFDWithFlow
This operation requires that you make the network editable. You can do this either through an edit session, using the Editor, or you can use the IWorkspaceEdit interface to edit the workspace of the logical network.
This method is not callable from Java. Please use IUtilityNetworkGEN::PartialEstablishFlowDirection.
partialEstablishFlowDirection
in interface IUtilityNetwork2
sourceCount
- The sourceCount (in)sourceEIDs
- The sourceEIDs (in)sinkCount
- The sinkCount (in)sinkEIDs
- The sinkEIDs (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 |