com.esri.arcgis.arcweb
Class ArcWebField

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

public class ArcWebField
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebField

A single field definition from and ArcWebTable.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebField(Object obj)
          Construct a ArcWebField 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 getDescription()
          A short description of the field.
 String getName()
          The name of the field.
 int getType()
          The data type of the field.
 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

ArcWebField

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

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

Throws:
IOException - if there are interop problems ArcWebField theArcWebField = (ArcWebField) 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 field.

Product Availability

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

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

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
A short description of the field.

Product Availability

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

Specified by:
getDescription in interface IArcWebField
Returns:
The description
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws IOException,
                   AutomationException
The data type of the field.

Product Availability

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

Specified by:
getType in interface IArcWebField
Returns:
A com.esri.arcgis.arcweb.esriArcWebFieldType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.