com.esri.arcgis.carto
Class QueryByLayer

java.lang.Object
  extended by com.esri.arcgis.carto.QueryByLayer
All Implemented Interfaces:
IQueryByLayer, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class QueryByLayer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IQueryByLayer

COM Class 'QueryByLayer'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Query By Layer Class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.carto.IQueryByLayer
IID, IIDb353cfbb_0f64_4d00_904a_6eecd3fa5d4c, xxDummy
 
Constructor Summary
QueryByLayer()
          Constructs a QueryByLayer using ArcGIS Engine.
QueryByLayer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
QueryByLayer theQueryByLayer = (QueryByLayer) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a QueryByLayer.
 ISelectionSet select()
          Selects the features based on the input parameters and returns a selection set.
 void setBufferDistance(double rhs1)
          The type of selection method to be performed.
 void setBufferUnits(int rhs1)
          The buffer units.
 void setByLayerByRef(IFeatureLayer rhs1)
          The layer features will be selected from.
 void setFromLayerByRef(IFeatureLayer rhs1)
          Provides access to the methods and properties of QueryByLayer.
 void setLayerSelectionMethod(int rhs1)
          The input layer that contains features to base the selection on.
 void setResultType(int rhs1)
          The result type of the selection where it can be specified that the selection adds to a current selection etc.
 void setUseSelectedFeatures(boolean rhs1)
          Indicates whether selected features will be used.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryByLayer

public QueryByLayer()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a QueryByLayer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

QueryByLayer

public QueryByLayer(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
QueryByLayer theQueryByLayer = (QueryByLayer) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a QueryByLayer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setFromLayerByRef

public void setFromLayerByRef(IFeatureLayer rhs1)
                       throws java.io.IOException,
                              AutomationException
Provides access to the methods and properties of QueryByLayer.

Specified by:
setFromLayerByRef in interface IQueryByLayer
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setByLayerByRef

public void setByLayerByRef(IFeatureLayer rhs1)
                     throws java.io.IOException,
                            AutomationException
The layer features will be selected from.

Specified by:
setByLayerByRef in interface IQueryByLayer
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerSelectionMethod

public void setLayerSelectionMethod(int rhs1)
                             throws java.io.IOException,
                                    AutomationException
The input layer that contains features to base the selection on.

Specified by:
setLayerSelectionMethod in interface IQueryByLayer
Parameters:
rhs1 - A com.esri.arcgis.carto.esriLayerSelectionMethod constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferDistance

public void setBufferDistance(double rhs1)
                       throws java.io.IOException,
                              AutomationException
The type of selection method to be performed.

Specified by:
setBufferDistance in interface IQueryByLayer
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferUnits

public void setBufferUnits(int rhs1)
                    throws java.io.IOException,
                           AutomationException
The buffer units.

Specified by:
setBufferUnits in interface IQueryByLayer
Parameters:
rhs1 - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseSelectedFeatures

public void setUseSelectedFeatures(boolean rhs1)
                            throws java.io.IOException,
                                   AutomationException
Indicates whether selected features will be used.

Specified by:
setUseSelectedFeatures in interface IQueryByLayer
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResultType

public void setResultType(int rhs1)
                   throws java.io.IOException,
                          AutomationException
The result type of the selection where it can be specified that the selection adds to a current selection etc.

Specified by:
setResultType in interface IQueryByLayer
Parameters:
rhs1 - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

public ISelectionSet select()
                     throws java.io.IOException,
                            AutomationException
Selects the features based on the input parameters and returns a selection set.

Specified by:
select in interface IQueryByLayer
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.