com.esri.arcgis.geodatabase
Class EnumHistoricalMarker

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

public class EnumHistoricalMarker
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumHistoricalMarker

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumHistoricalMarker(Object obj)
          Construct a EnumHistoricalMarker 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
 IHistoricalMarker next()
          Retrieve the next historical marker in this enumerator.
 void reset()
          Reset the enumerator 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

EnumHistoricalMarker

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

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

Throws:
IOException - if there are interop problems EnumHistoricalMarker theEnumHistoricalMarker = (EnumHistoricalMarker) 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 IHistoricalMarker next()
                       throws IOException,
                              AutomationException
Retrieve the next historical marker in this enumerator.

Product Availability

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

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

reset

public void reset()
           throws IOException,
                  AutomationException
Reset the enumerator to the beginning.

Product Availability

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

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