com.esri.arcgis.arcweb
Class ArcWebTable

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

public class ArcWebTable
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebTable

A table hodling the rows resulting from a query.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebTable(Object obj)
          Construct a ArcWebTable using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IArcWebFields getFields()
          The IArcWebFields used to retrieve information about the field content.
 IArcWebRow getRow(int rowID)
          An IArcWebRow used to retrieve information about the row content.
 int getRowCount()
          The total number of rows in the table.
 int getTotalCount()
          The total number of rows that match the search criteria.
 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

ArcWebTable

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

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

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

getFields

public IArcWebFields getFields()
                        throws IOException,
                               AutomationException
The IArcWebFields used to retrieve information about the field content.

Product Availability

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

Specified by:
getFields in interface IArcWebTable
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRowCount

public int getRowCount()
                throws IOException,
                       AutomationException
The total number of rows in the table.

Product Availability

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

Specified by:
getRowCount in interface IArcWebTable
Returns:
The rowCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTotalCount

public int getTotalCount()
                  throws IOException,
                         AutomationException
The total number of rows that match the search criteria.

Product Availability

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

Specified by:
getTotalCount in interface IArcWebTable
Returns:
The totalCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRow

public IArcWebRow getRow(int rowID)
                  throws IOException,
                         AutomationException
An IArcWebRow used to retrieve information about the row content.

Product Availability

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

Specified by:
getRow in interface IArcWebTable
Parameters:
rowID - The rowID (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebRow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.