com.esri.arcgis.geodatabase
Class GeoDatabaseHelper

java.lang.Object
  extended by com.esri.arcgis.geodatabase.GeoDatabaseHelper
All Implemented Interfaces:
IGeoDatabaseBridge, IGeoDatabaseBridge2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GeoDatabaseHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeoDatabaseBridge, IGeoDatabaseBridge2

COM Class 'GeoDatabaseHelper'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'GeoDatabaseHelper object. Providing helper methods for GeoDatabase objects.' 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.geodatabase.IGeoDatabaseBridge2
IID, IID84a92bc8_ee99_4d54_8547_8f6f7181f777, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDatabaseBridge
IID9999e240_ecd1_4979_83e6_b557748c18b7
 
Constructor Summary
GeoDatabaseHelper()
          Constructs a GeoDatabaseHelper using ArcGIS Engine.
GeoDatabaseHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeoDatabaseHelper theGeoDatabaseHelper = (GeoDatabaseHelper) obj;
 
Method Summary
 void addList(ISelectionSet selectionSet, int[] oIDList)
          Adds a list of object id's to the selection set.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IFeatureCursor getFeatures(IFeatureClass pFeatureClass, int[] fids, boolean recycling)
          Get a cursor of Rows given a set of object ids.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLineOfSight(ISurface pSurface, IPoint pObserver, IPoint pTarget, IPoint[] ppObstruction, IPolyline[] ppVisibleLines, IPolyline[] ppInvisibleLines, boolean[] pbIsVisible, boolean bApplyCurvature, boolean bApplyRefraction, java.lang.Object pRefractionFactor)
          Returns a line-of-site indicator interpolated from the TIN based on an input polyline.
 int hashCode()
          the hashcode for this object
 void queryElevationBand(ITinTriangle pTinTriangle, double zLowerBound, double zUpperBound, int[] pCount, _WKSPointZ[][] pRegion)
          The polygon based on the specified triangle and input bounds.
 void queryPixelBlock(ISurface pSurface, double xOrigin, double yOrigin, double xPixelSize, double yPixelSize, int type, java.lang.Object valueForNoData, java.lang.Object[] block)
          Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.
 void release()
          Release a GeoDatabaseHelper.
 void removeList(ISelectionSet selectionSet, int[] oIDList)
          Removes a list of object id's from the selection set.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDatabaseHelper

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

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

GeoDatabaseHelper

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

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

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 GeoDatabaseHelper.

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

getFeatures

public IFeatureCursor getFeatures(IFeatureClass pFeatureClass,
                                  int[] fids,
                                  boolean recycling)
                           throws java.io.IOException,
                                  AutomationException
Get a cursor of Rows given a set of object ids.

Specified by:
getFeatures in interface IGeoDatabaseBridge
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fids - The fids (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addList

public void addList(ISelectionSet selectionSet,
                    int[] oIDList)
             throws java.io.IOException,
                    AutomationException
Adds a list of object id's to the selection set.

Specified by:
addList in interface IGeoDatabaseBridge2
Parameters:
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
oIDList - The oIDList (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeList

public void removeList(ISelectionSet selectionSet,
                       int[] oIDList)
                throws java.io.IOException,
                       AutomationException
Removes a list of object id's from the selection set.

Specified by:
removeList in interface IGeoDatabaseBridge2
Parameters:
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
oIDList - The oIDList (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryElevationBand

public void queryElevationBand(ITinTriangle pTinTriangle,
                               double zLowerBound,
                               double zUpperBound,
                               int[] pCount,
                               _WKSPointZ[][] pRegion)
                        throws java.io.IOException,
                               AutomationException
The polygon based on the specified triangle and input bounds. For pRegion, pass in an array with at least 5 WKSPointZs.

Specified by:
queryElevationBand in interface IGeoDatabaseBridge2
Parameters:
pTinTriangle - A reference to a com.esri.arcgis.geodatabase.ITinTriangle (in)
zLowerBound - The zLowerBound (in)
zUpperBound - The zUpperBound (in)
pCount - The pCount (out: use single element array)
pRegion - A Structure: com.esri.arcgis.system._WKSPointZ (An array of com.esri.arcgis.system._WKSPointZ COM typedef) (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPixelBlock

public void queryPixelBlock(ISurface pSurface,
                            double xOrigin,
                            double yOrigin,
                            double xPixelSize,
                            double yPixelSize,
                            int type,
                            java.lang.Object valueForNoData,
                            java.lang.Object[] block)
                     throws java.io.IOException,
                            AutomationException
Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.

Specified by:
queryPixelBlock in interface IGeoDatabaseBridge2
Parameters:
pSurface - A reference to a com.esri.arcgis.geodatabase.ISurface (in)
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
xPixelSize - The xPixelSize (in)
yPixelSize - The yPixelSize (in)
type - A com.esri.arcgis.geodatabase.esriRasterizationType constant (in)
valueForNoData - A Variant (in)
block - A Variant (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLineOfSight

public void getLineOfSight(ISurface pSurface,
                           IPoint pObserver,
                           IPoint pTarget,
                           IPoint[] ppObstruction,
                           IPolyline[] ppVisibleLines,
                           IPolyline[] ppInvisibleLines,
                           boolean[] pbIsVisible,
                           boolean bApplyCurvature,
                           boolean bApplyRefraction,
                           java.lang.Object pRefractionFactor)
                    throws java.io.IOException,
                           AutomationException
Returns a line-of-site indicator interpolated from the TIN based on an input polyline.

Specified by:
getLineOfSight in interface IGeoDatabaseBridge2
Parameters:
pSurface - A reference to a com.esri.arcgis.geodatabase.ISurface (in)
pObserver - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTarget - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppObstruction - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
ppVisibleLines - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
ppInvisibleLines - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
pbIsVisible - The pbIsVisible (out: use single element array)
bApplyCurvature - The bApplyCurvature (in)
bApplyRefraction - The bApplyRefraction (in)
pRefractionFactor - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.