com.esri.arcgis.geodatabase
Class HistoricalVersionMarker

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

public class HistoricalVersionMarker
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IHistoricalMarker

Product Availability

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

See Also:
Serialized Form

Constructor Summary
HistoricalVersionMarker(Object obj)
          Construct a HistoricalVersionMarker using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getName()
          The name of the historical marker.
 Object getTimeStamp()
          The timestamp of the historical marker.
 int hashCode()
          the hashcode for this object
 
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

HistoricalVersionMarker

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

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

Throws:
IOException - if there are interop problems HistoricalVersionMarker theHistoricalVersionMarker = (HistoricalVersionMarker) 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

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the historical marker.

Remarks

Returns a string corresponding to the name of the historical marker. The maximum length of the string is 64 characters.

Product Availability

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

Specified by:
getName in interface IHistoricalMarker
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeStamp

public Object getTimeStamp()
                    throws IOException,
                           AutomationException
The timestamp of the historical marker.

Remarks

Returns a variant corresponding to the timestamp the historical marker references.

Product Availability

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

Specified by:
getTimeStamp in interface IHistoricalMarker
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.