com.esri.arcgis.datainterop
Class FMEWorkspaceFactory

java.lang.Object
  extended by com.esri.arcgis.datainterop.FMEWorkspaceFactory
All Implemented Interfaces:
IPlugInWorkspaceFactoryHelper, IPlugInWorkspaceFactoryHelper2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class FMEWorkspaceFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPlugInWorkspaceFactoryHelper2, ISupportErrorInfo

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

Description 'FMEWorkspaceFactory 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.geodatabase.IPlugInWorkspaceFactoryHelper2
IID, IIDa6ba6eda_95a0_49b9_9edf_a83099448798, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
FMEWorkspaceFactory()
          Constructs a FMEWorkspaceFactory using ArcGIS Engine.
FMEWorkspaceFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FMEWorkspaceFactory theFMEWorkspaceFactory = (FMEWorkspaceFactory) obj;
 
Method Summary
 boolean containsWorkspace(java.lang.String parentDirectory, IFileNames fileNames)
          Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDatasetDescription(int datasetType)
          A desription of a detaset of the type specified.
 java.lang.String getDataSourceName()
          The name of the data source.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getWorkspaceDescription(boolean plural)
          A singular or plural description of the type of workspace the workspace factory opens.
 IUID getWorkspaceFactoryTypeID()
          The class ID which is registered in the WorkspaceFactory category.
 java.lang.String getWorkspaceString(java.lang.String parentDirectory, IFileNames fileNames)
          If parentDirectory is or contains a valid workspace, gets a string uniquely identifying that workspace.
 int getWorkspaceType()
          The type of workspace the workspace factory opens.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isCanSupportSQL()
          Indicates whether datasets of this type can process SQL queries.
 boolean isWorkspace(java.lang.String wksString)
          Tests if the workspace string represents a valid workspace.
 IPlugInWorkspaceHelper openWorkspace(java.lang.String wksString)
          Opens a workspace helper for the workspace identified by the workspace string.
 IPlugInWorkspaceHelper openWorkspaceEx(java.lang.String wksString, IPropertySet pConnectionProps)
          Opens a workspace helper for the workspace identified by the workspace string, using the connection properties.
 void release()
          Release a FMEWorkspaceFactory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FMEWorkspaceFactory

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

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

FMEWorkspaceFactory

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

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

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

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

openWorkspaceEx

public IPlugInWorkspaceHelper openWorkspaceEx(java.lang.String wksString,
                                              IPropertySet pConnectionProps)
                                       throws java.io.IOException,
                                              AutomationException
Opens a workspace helper for the workspace identified by the workspace string, using the connection properties.

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

getDataSourceName

public java.lang.String getDataSourceName()
                                   throws java.io.IOException,
                                          AutomationException
The name of the data source.

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

getDatasetDescription

public java.lang.String getDatasetDescription(int datasetType)
                                       throws java.io.IOException,
                                              AutomationException
A desription of a detaset of the type specified.

Specified by:
getDatasetDescription in interface IPlugInWorkspaceFactoryHelper
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
The dsDesc
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceDescription

public java.lang.String getWorkspaceDescription(boolean plural)
                                         throws java.io.IOException,
                                                AutomationException
A singular or plural description of the type of workspace the workspace factory opens.

Specified by:
getWorkspaceDescription in interface IPlugInWorkspaceFactoryHelper
Parameters:
plural - The plural (in)
Returns:
The wksDesc
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceFactoryTypeID

public IUID getWorkspaceFactoryTypeID()
                               throws java.io.IOException,
                                      AutomationException
The class ID which is registered in the WorkspaceFactory category.

Specified by:
getWorkspaceFactoryTypeID in interface IPlugInWorkspaceFactoryHelper
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceType

public int getWorkspaceType()
                     throws java.io.IOException,
                            AutomationException
The type of workspace the workspace factory opens.

Specified by:
getWorkspaceType in interface IPlugInWorkspaceFactoryHelper
Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanSupportSQL

public boolean isCanSupportSQL()
                        throws java.io.IOException,
                               AutomationException
Indicates whether datasets of this type can process SQL queries.

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

isWorkspace

public boolean isWorkspace(java.lang.String wksString)
                    throws java.io.IOException,
                           AutomationException
Tests if the workspace string represents a valid workspace.

Specified by:
isWorkspace in interface IPlugInWorkspaceFactoryHelper
Parameters:
wksString - The wksString (in)
Returns:
The isWks
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

containsWorkspace

public boolean containsWorkspace(java.lang.String parentDirectory,
                                 IFileNames fileNames)
                          throws java.io.IOException,
                                 AutomationException
Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace.

Specified by:
containsWorkspace in interface IPlugInWorkspaceFactoryHelper
Parameters:
parentDirectory - The parentDirectory (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
The containsWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceString

public java.lang.String getWorkspaceString(java.lang.String parentDirectory,
                                           IFileNames fileNames)
                                    throws java.io.IOException,
                                           AutomationException
If parentDirectory is or contains a valid workspace, gets a string uniquely identifying that workspace.

Specified by:
getWorkspaceString in interface IPlugInWorkspaceFactoryHelper
Parameters:
parentDirectory - The parentDirectory (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
The wksString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openWorkspace

public IPlugInWorkspaceHelper openWorkspace(java.lang.String wksString)
                                     throws java.io.IOException,
                                            AutomationException
Opens a workspace helper for the workspace identified by the workspace string.

Specified by:
openWorkspace in interface IPlugInWorkspaceFactoryHelper
Parameters:
wksString - The wksString (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IPlugInWorkspaceHelper
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.