com.esri.arcgis.carto
Class FeatureFindData

java.lang.Object
  extended by com.esri.arcgis.carto.FeatureFindData
All Implemented Interfaces:
IFeatureFindData2, IFindObj, IFindObject, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class FeatureFindData
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFeatureFindData2, IFindObj, IFindObject

Stores feature info for finding.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
FeatureFindData()
          Constructs a FeatureFindData using ArcGIS Engine.
FeatureFindData(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureFindData theFeatureFindData = (FeatureFindData) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IFeature getFeature()
          The feature.
 int getFID()
          FID.
 String getFieldName()
          The field name.
 ILayer getLayer()
          The layer.
 String getLayerName()
          The layer name.
 String getValue()
          String value.
 int hashCode()
          the hashcode for this object
 void setFeatureByRef(IFeature ppFeature)
          The feature.
 void setFID(int fID)
          FID.
 void setFieldName(String fieldName)
          The field name.
 void setLayerByRef(ILayer ppLayer)
          The layer.
 void setLayerName(String layerName)
          The layer name.
 void setValue(String value)
          String value.
 
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

FeatureFindData

public FeatureFindData()
                throws IOException,
                       UnknownHostException
Constructs a FeatureFindData using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

FeatureFindData

public FeatureFindData(Object obj)
                throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureFindData theFeatureFindData = (FeatureFindData) obj;

Construct a FeatureFindData using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FeatureFindData.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


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

getFeature

public IFeature getFeature()
                    throws IOException,
                           AutomationException
The feature.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFeature in interface IFeatureFindData2
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

public ILayer getLayer()
                throws IOException,
                       AutomationException
The layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLayer in interface IFeatureFindData2
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureByRef

public void setFeatureByRef(IFeature ppFeature)
                     throws IOException,
                            AutomationException
The feature.

Product Availability

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

Specified by:
setFeatureByRef in interface IFeatureFindData2
Parameters:
ppFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

public void setLayerByRef(ILayer ppLayer)
                   throws IOException,
                          AutomationException
The layer.

Product Availability

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

Specified by:
setLayerByRef in interface IFeatureFindData2
Parameters:
ppLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(String value)
              throws IOException,
                     AutomationException
String value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setValue in interface IFindObj
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public String getValue()
                throws IOException,
                       AutomationException
String value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getValue in interface IFindObj
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldName

public void setFieldName(String fieldName)
                  throws IOException,
                         AutomationException
The field name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFieldName in interface IFindObj
Parameters:
fieldName - The fieldName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldName

public String getFieldName()
                    throws IOException,
                           AutomationException
The field name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFieldName in interface IFindObj
Returns:
The fieldName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerName

public void setLayerName(String layerName)
                  throws IOException,
                         AutomationException
The layer name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLayerName in interface IFindObj
Parameters:
layerName - The layerName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerName

public String getLayerName()
                    throws IOException,
                           AutomationException
The layer name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLayerName in interface IFindObj
Returns:
The layerName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFID

public void setFID(int fID)
            throws IOException,
                   AutomationException
FID.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFID in interface IFindObject
Parameters:
fID - The fID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFID

public int getFID()
           throws IOException,
                  AutomationException
FID.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFID in interface IFindObject
Returns:
The fID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.