com.esri.arcgis.trackinganalyst
Class TMSEnumIDs

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TMSEnumIDs
All Implemented Interfaces:
IEnumIDs, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class TMSEnumIDs
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumIDs

Controls the tracking selection ID enumerator.

Description

This private coclass defines the enumerator for the TMS selection set object's record ids. TMSEnumIDs is a non-creatable object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
TMSEnumIDs(Object obj)
          Construct a TMSEnumIDs 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 hashCode()
          the hashcode for this object
 int next()
          Retrieves the next id in the enumeration sequence.
 void reset()
          Resets the enumeration sequence to the beginning.
 
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

TMSEnumIDs

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

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

Throws:
IOException - if there are interop problems TMSEnumIDs theTMSEnumIDs = (TMSEnumIDs) 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

next

public int next()
         throws IOException,
                AutomationException
Retrieves the next id in the enumeration sequence.

Remarks

IEnumIDs::Next returns -1 when there are no more IDs in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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