com.esri.arcgis.trackinganalyst
Class Datasets

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.Datasets
All Implemented Interfaces:
IEnumDataset, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class Datasets
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumDataset, ISupportErrorInfo

Controls functionality relating to datasets.

Description

This class controls functionality relating to datasets. Datasets is a non-creatable object. References to non-creatable objects must be obtained through other objects. Use IEnumDataset that Datasets implements to retrieves each dataset in a Dataset object.

Remarks

This is a helper class for AMSWorkspace’s get_Datasets object to store datasets.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
Datasets(Object obj)
          Construct a Datasets 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
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 IDataset next()
          Retrieves the next dataset 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

Datasets

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

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

Throws:
IOException - if there are interop problems Datasets theDatasets = (Datasets) 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 IDataset next()
              throws IOException,
                     AutomationException
Retrieves the next dataset in the enumeration sequence.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
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 IEnumDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.