com.esri.arcgis.trackinganalyst
Class DatasetNames

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.DatasetNames
All Implemented Interfaces:
IEnumDatasetName, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IDatasetNames, Serializable

public class DatasetNames
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDatasetNames, IEnumDatasetName, ISupportErrorInfo

Controls settings for dataset names.

Description

This class provides access to properties and methods needed to manage dataset name information.

Remarks

This is a helper class for IWorkspace.get_DatasetNames() function. It stores dataset names for the returned IEnumDatasetName interface.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
DatasetNames()
          Constructs a DatasetNames using ArcGIS Engine.
DatasetNames(Object obj)
          Construct a DatasetNames using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 IDatasetName next()
          Retrieves the next feature class 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

DatasetNames

public DatasetNames()
             throws IOException,
                    UnknownHostException
Constructs a DatasetNames using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DatasetNames

public DatasetNames(Object obj)
             throws IOException
Construct a DatasetNames using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DatasetNames.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems DatasetNames theDatasetNames = (DatasetNames) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


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 IDatasetName next()
                  throws IOException,
                         AutomationException
Retrieves the next feature class 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 IEnumDatasetName
Returns:
A reference to a com.esri.arcgis.geodatabase.IDatasetName
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 IEnumDatasetName
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.