com.esri.arcgis.geodatabase
Interface IEnumNetEIDBuilder

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
EnumNetEIDArray, IEnumNetEIDBuilderProxy

public interface IEnumNetEIDBuilder
extends java.io.Serializable

Provides access to members that build an enumeration of network element IDs (EIDs).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Not all members are callable from Java.  Please use IEnumNetEIDBuilderGEN instead.


Method Summary
 void add(int eID)
          Adds an element to this EID enumeration.
 void setEIDs(int count, int[] rhs2)
          Array of EIDs in this enumeration.
 void setElementType(int rhs1)
          Type of network elements to be in this enumeration.
 void setNetworkByRef(INetwork rhs1)
          Network from which these elements came.
 

Method Detail

setNetworkByRef

public void setNetworkByRef(INetwork rhs1)
                     throws java.io.IOException,
                            AutomationException
Network from which these elements came.

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetwork (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(int eID)
         throws java.io.IOException,
                AutomationException
Adds an element to this EID enumeration.

Supported Platforms

Windows, Solaris, Linux

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

setElementType

public void setElementType(int rhs1)
                    throws java.io.IOException,
                           AutomationException
Type of network elements to be in this enumeration.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEIDs

public void setEIDs(int count,
                    int[] rhs2)
             throws java.io.IOException,
                    AutomationException
Array of EIDs in this enumeration.

Supported Platforms

Windows, Solaris, Linux

This method is not callable from Java.  Please use IEnumNetEIDBuilderGEN::EIDs.

You can also add EIDs one at a time using the IEnumNetEIDBuilder::Add method.

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