com.esri.arcgis.trackinganalyst
Class TxEnumObjects

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

public class TxEnumObjects
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumTxObject

This object provides the implementation for an enumeration of TxCatalogObjects.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
TxEnumObjects(Object obj)
          Construct a TxEnumObjects 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
 ITxCatalogObject next()
          The next object in the list.
 void reset()
          Starts the enumeration at 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

TxEnumObjects

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

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

Throws:
IOException - if there are interop problems TxEnumObjects theTxEnumObjects = (TxEnumObjects) 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 ITxCatalogObject next()
                      throws IOException,
                             AutomationException
The next object in the list.

Product Availability

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

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

reset

public void reset()
           throws IOException,
                  AutomationException
Starts the enumeration at the beginning.

Product Availability

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

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