com.esri.arcgis.arcweb
Class ArcWebRow

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebRow
All Implemented Interfaces:
IArcWebRow, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebRow
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebRow

A single row of data in an ArcWebTable.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebRow(Object obj)
          Construct a ArcWebRow using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 Object getValue(int index)
          Retrieves the value of an element in the row.
 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

ArcWebRow

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

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

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

getValue

public Object getValue(int index)
                throws IOException,
                       AutomationException
Retrieves the value of an element in the row.

Product Availability

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

Specified by:
getValue in interface IArcWebRow
Parameters:
index - The index (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.