com.esri.arcgis.geodatabase
Class EnumAttachment

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

public class EnumAttachment
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumAttachment

.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumAttachment(Object obj)
          Construct a EnumAttachment 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
 IAttachment next()
          next
 void reset()
          reset
 
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

EnumAttachment

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

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

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

reset

public void reset()
           throws IOException,
                  AutomationException
reset

Product Availability

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

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

next

public IAttachment next()
                 throws IOException,
                        AutomationException
next

Product Availability

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

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