com.esri.arcgis.datainterop
Class FMEWorkspaceHelper

java.lang.Object
  extended by com.esri.arcgis.datainterop.FMEWorkspaceHelper
All Implemented Interfaces:
IPlugInMetadataPath, IPlugInWorkspaceHelper, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class FMEWorkspaceHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPlugInWorkspaceHelper, IPlugInMetadataPath, ISupportErrorInfo

COM Class 'FMEWorkspaceHelper'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriDataInterop.olb'

Description 'FMEWorkspaceHelper 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.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
FMEWorkspaceHelper()
          Constructs a FMEWorkspaceHelper using ArcGIS Engine.
FMEWorkspaceHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FMEWorkspaceHelper theFMEWorkspaceHelper = (FMEWorkspaceHelper) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IArray getDatasetNames(int datasetType)
          An array of dataset helpers for each dataset in the workspace.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getMetadataPath(java.lang.String localName)
          The path to the metadata file for the dataset indentified by localName.
 INativeType getNativeType(int datasetType, java.lang.String localName)
          The native type object for datasetType.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isOIDIsRecordNumber()
          Indicates whether the OID is the number of the record, i.e., whether id's are continuous.
 boolean isRowCountIsCalculated()
          Indicates if a dataset has to count each row to get the number of rows in the dataset.
 IPlugInDatasetHelper openDataset(java.lang.String localName)
          Opens a dataset helper for the dataset identified by localName.
 void release()
          Release a FMEWorkspaceHelper.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FMEWorkspaceHelper

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

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

FMEWorkspaceHelper

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

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

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

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

isRowCountIsCalculated

public boolean isRowCountIsCalculated()
                               throws java.io.IOException,
                                      AutomationException
Indicates if a dataset has to count each row to get the number of rows in the dataset.

Description

Returns true if the only way to count the number of rows in the dataset is to get a cursor and count. If the data source has a faster method for getting a count of rows in a dataset, this method should return false and the optional interface IPlugInFastRowCount should be implemented on dataset helpers returned by OpenDataset. It is always safe to return true here.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isRowCountIsCalculated in interface IPlugInWorkspaceHelper
Returns:
The rowCountCalculated
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOIDIsRecordNumber

public boolean isOIDIsRecordNumber()
                            throws java.io.IOException,
                                   AutomationException
Indicates whether the OID is the number of the record, i.e., whether id's are continuous.

Description

It should return true if the record number of your data source is used as the Object ID, that is the Object IDs are always continuous. If true, some joins are optimized.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isOIDIsRecordNumber in interface IPlugInWorkspaceHelper
Returns:
The oIDIsRecordNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeType

public INativeType getNativeType(int datasetType,
                                 java.lang.String localName)
                          throws java.io.IOException,
                                 AutomationException
The native type object for datasetType.

Product Availability

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

Specified by:
getNativeType in interface IPlugInWorkspaceHelper
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
localName - The localName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INativeType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetNames

public IArray getDatasetNames(int datasetType)
                       throws java.io.IOException,
                              AutomationException
An array of dataset helpers for each dataset in the workspace.

Product Availability

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

Specified by:
getDatasetNames in interface IPlugInWorkspaceHelper
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openDataset

public IPlugInDatasetHelper openDataset(java.lang.String localName)
                                 throws java.io.IOException,
                                        AutomationException
Opens a dataset helper for the dataset identified by localName.

Description

Creates and initializes an instance of the dataset helper class and returns its IPlugInDatasetHelper pointer. If localName is not a local name of a dataset, the method should fail and return a null pointer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
openDataset in interface IPlugInWorkspaceHelper
Parameters:
localName - The localName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IPlugInDatasetHelper
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadataPath

public java.lang.String getMetadataPath(java.lang.String localName)
                                 throws java.io.IOException,
                                        AutomationException
The path to the metadata file for the dataset indentified by localName.

Product Availability

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

Specified by:
getMetadataPath in interface IPlugInMetadataPath
Parameters:
localName - The localName (in)
Returns:
The metadataPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.