com.esri.arcgis.geodatabase
Class WorkspaceHelper

java.lang.Object
  extended by com.esri.arcgis.geodatabase.WorkspaceHelper
All Implemented Interfaces:
IWorkspaceHelper, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class WorkspaceHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IWorkspaceHelper

ESRI Workspace Helper.

Remarks

A workspace helper holds a weak reference to a workspace, forming a back reference from a workspace extension to a workspace.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
WorkspaceHelper()
          Constructs a WorkspaceHelper using ArcGIS Engine.
WorkspaceHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WorkspaceHelper theWorkspaceHelper = (WorkspaceHelper) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IWorkspace getWorkspace()
          The workspace for this workspace helper.
 int hashCode()
          the hashcode for this object
 
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

WorkspaceHelper

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

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

WorkspaceHelper

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

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

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

getWorkspace

public IWorkspace getWorkspace()
                        throws IOException,
                               AutomationException
The workspace for this workspace helper.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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