com.esri.arcgis.arcweb
Class ArcWebFields

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

public class ArcWebFields
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebFields

A set of fields from an ArcWebTable.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebFields(Object obj)
          Construct a ArcWebFields using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IArcWebField getField(int fieldID)
          A field by index (base 0).
 int getFieldCount()
          The number of fields in the table.
 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

ArcWebFields

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

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

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

getFieldCount

public int getFieldCount()
                  throws IOException,
                         AutomationException
The number of fields in the table.

Product Availability

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

Specified by:
getFieldCount in interface IArcWebFields
Returns:
The fieldCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getField

public IArcWebField getField(int fieldID)
                      throws IOException,
                             AutomationException
A field by index (base 0).

Product Availability

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

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