com.esri.arcgis.arcweb
Class ArcWebSpatialQueryInfo

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

public class ArcWebSpatialQueryInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebSpatialQueryInfo

The information describing an ArcWebSpatialQuery.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebSpatialQueryInfo(Object obj)
          Construct a ArcWebSpatialQueryInfo 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 getDataSource()
          The name of the data source.
 IArcWebFields getFields()
          A set of fields.
 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

ArcWebSpatialQueryInfo

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

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

Throws:
IOException - if there are interop problems ArcWebSpatialQueryInfo theArcWebSpatialQueryInfo = (ArcWebSpatialQueryInfo) 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
A set of fields.

Product Availability

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

Specified by:
getFields in interface IArcWebSpatialQueryInfo
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.

getDataSource

public String getDataSource()
                     throws IOException,
                            AutomationException
The name of the data source.

Product Availability

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

Specified by:
getDataSource in interface IArcWebSpatialQueryInfo
Returns:
The dataSource
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.