com.esri.arcgis.geodatabase
Class EnumNetEIDArray

java.lang.Object
  extended by com.esri.arcgis.geodatabase.EnumNetEIDArray
All Implemented Interfaces:
IEnumNetEID, IEnumNetEIDBuilder, IEnumNetEIDBuilderGEN, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class EnumNetEIDArray
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumNetEID, IEnumNetEIDBuilderGEN, IEnumNetEIDBuilder

COM Class 'EnumNetEIDArray'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'A container for defining a network element ID (EID) enumeration.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnumNetEID
IID, IID5db91db4_afb4_11d0_9ccd_00805f74d243, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnumNetEIDBuilderGEN
IID, IID17582ddf_c06d_4c81_b32a_f23b74b1546e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnumNetEIDBuilder
IID, IID697ada1e_a05c_4ffb_bd41_eb47b1773310, xxDummy
 
Constructor Summary
EnumNetEIDArray()
          Constructs a EnumNetEIDArray using ArcGIS Engine.
EnumNetEIDArray(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumNetEIDArray theEnumNetEIDArray = (EnumNetEIDArray) obj;
 
Method Summary
 void add(int eID)
          Adds an element to this EID enumeration.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          Number of network elements in this enumeration.
 int getElementType()
          Type of network elements in this enumeration.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 INetwork getNetwork()
          Network from which these elements came.
 int hashCode()
          the hashcode for this object
 int last()
          Forces the enumerator pointing at the last element in the enumeration and returns the last element.
 int next()
          Moves the enumerator forward and returns the network element pointed by the enumerator.
 int prev()
          Returns the network element pointed by the enumerator and moves the enumerator backward.
 void release()
          Release a EnumNetEIDArray.
 void reset()
          Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration.
 void setEIDs(int[] rhs1)
          Array of EIDs in this 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumNetEIDArray

public EnumNetEIDArray()
                throws java.io.IOException,
                       java.net.UnknownHostException
Constructs a EnumNetEIDArray using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

EnumNetEIDArray

public EnumNetEIDArray(java.lang.Object obj)
                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumNetEIDArray theEnumNetEIDArray = (EnumNetEIDArray) obj;

Construct a EnumNetEIDArray using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EnumNetEIDArray.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a EnumNetEIDArray.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getNetwork

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

Specified by:
getNetwork in interface IEnumNetEID
Returns:
A reference to a com.esri.arcgis.geodatabase.INetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Number of network elements in this enumeration.

Specified by:
getCount in interface IEnumNetEID
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementType

public int getElementType()
                   throws java.io.IOException,
                          AutomationException
Type of network elements in this enumeration.

Specified by:
getElementType in interface IEnumNetEID
Returns:
A com.esri.arcgis.geodatabase.esriElementType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration.

Specified by:
reset in interface IEnumNetEID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public int next()
         throws java.io.IOException,
                AutomationException
Moves the enumerator forward and returns the network element pointed by the enumerator.

Specified by:
next in interface IEnumNetEID
Returns:
The eID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

last

public int last()
         throws java.io.IOException,
                AutomationException
Forces the enumerator pointing at the last element in the enumeration and returns the last element.

Specified by:
last in interface IEnumNetEID
Returns:
The eID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

prev

public int prev()
         throws java.io.IOException,
                AutomationException
Returns the network element pointed by the enumerator and moves the enumerator backward.

Specified by:
prev in interface IEnumNetEID
Returns:
The eID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNetworkByRef

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

Specified by:
setNetworkByRef in interface IEnumNetEIDBuilder
Specified by:
setNetworkByRef in interface IEnumNetEIDBuilderGEN
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.

Specified by:
add in interface IEnumNetEIDBuilder
Specified by:
add in interface IEnumNetEIDBuilderGEN
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.

Specified by:
setElementType in interface IEnumNetEIDBuilder
Specified by:
setElementType in interface IEnumNetEIDBuilderGEN
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[] rhs1)
             throws java.io.IOException,
                    AutomationException
Array of EIDs in this enumeration.

Specified by:
setEIDs in interface IEnumNetEIDBuilderGEN
Parameters:
rhs1 - The rhs1 (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.

Specified by:
setEIDs in interface IEnumNetEIDBuilder
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.