com.esri.arcgis.networkanalysis
Class EnumEIDInfo

java.lang.Object
  extended by com.esri.arcgis.networkanalysis.EnumEIDInfo
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IEnumEIDInfo, Serializable

public class EnumEIDInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumEIDInfo

An enumeration created by the EIDHelper object that enumerates through EIDInfo interfaces.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
EnumEIDInfo(Object obj)
          Construct a EnumEIDInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 int getCount()
          Number of EIDInfo objects in the enumeration.
 int hashCode()
          the hashcode for this object
 IEIDInfo next()
          Gets the next EIDInfo object in the enumeration.
 void reset()
          Resets the enumeration.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

EnumEIDInfo

public EnumEIDInfo(Object obj)
            throws IOException
Construct a EnumEIDInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EnumEIDInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
EnumEIDInfo o = (EnumEIDInfo)obj; // will not work

EnumEIDInfo o = new EnumEIDInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems EnumEIDInfo theEnumEIDInfo = (EnumEIDInfo) obj;
Method Detail

equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

next

public IEIDInfo next()
              throws IOException,
                     AutomationException
Gets the next EIDInfo object in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumEIDInfo
Returns:
A reference to a com.esri.arcgis.networkanalysis.IEIDInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
Number of EIDInfo objects in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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