com.esri.arcgis.geodatabase
Class EnumDatasetType

java.lang.Object
  extended by com.esri.arcgis.geodatabase.EnumDatasetType
All Implemented Interfaces:
IEnumDatasetType, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class EnumDatasetType
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumDatasetType

Esri EnumDatasetType object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumDatasetType(Object obj)
          Construct a EnumDatasetType 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 dataset type in the set.
 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

EnumDatasetType

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

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

Throws:
IOException - if there are interop problems EnumDatasetType theEnumDatasetType = (EnumDatasetType) 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 dataset type in the set.

Product Availability

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

Specified by:
next in interface IEnumDatasetType
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
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.

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