com.esri.arcgis.geodatabase
Interface IComplexNetworkFeature

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ComplexEdgeFeature, ComplexJunctionFeature, IComplexNetworkFeatureProxy

public interface IComplexNetworkFeature
extends java.io.Serializable

Provides access to members that return and modify complex network features.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Remarks

The IComplexNetworkFeature interface provides a mechanism to determine the number of edge elements in the logical network that are associated with the complex network feature; it can also be used to return their Enabled properties and finds the edge element ID (or EID) that is associated with the portion of the geometry found at the specified location.  The IComplexNetworkFeature::EnabledByIndex property should not be used to set the enabled value, see the help on the EnabledByIndex property for more information.

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.


Method Summary
 int findEdgeEID(IPoint point)
          The EID associated with the EdgeElement at the specified point.
 int getEdgeElementCount()
          The number of edge elements associated with this Feature.
 boolean isEnabledByIndex(int edgeIndex)
          Indicates whether the NetworkFeature is open or not (i.e., closed).
 void setEnabledByIndex(int edgeIndex, boolean isEnabled)
          Indicates whether the NetworkFeature is open or not (i.e., closed).
 

Method Detail

getEdgeElementCount

public int getEdgeElementCount()
                        throws java.io.IOException,
                               AutomationException
The number of edge elements associated with this Feature.

Supported Platforms

Windows, Solaris, Linux

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Returns:
The numEdges
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findEdgeEID

public int findEdgeEID(IPoint point)
                throws java.io.IOException,
                       AutomationException
The EID associated with the EdgeElement at the specified point.

Supported Platforms

Windows, Solaris, Linux

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The edgeEID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnabledByIndex

public boolean isEnabledByIndex(int edgeIndex)
                         throws java.io.IOException,
                                AutomationException
Indicates whether the NetworkFeature is open or not (i.e., closed).

Supported Platforms

Windows, Solaris, Linux

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

When used with complex edge features, developers should set the Enabled value through the use of the IFeature::Value property, as the Enabled value must apply to the entire feature, not individual elements.

Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The isEnabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnabledByIndex

public void setEnabledByIndex(int edgeIndex,
                              boolean isEnabled)
                       throws java.io.IOException,
                              AutomationException
Indicates whether the NetworkFeature is open or not (i.e., closed).

Supported Platforms

Windows, Solaris, Linux

Parameters:
edgeIndex - The edgeIndex (in)
isEnabled - The isEnabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.