com.esri.arcgis.geodatabase
Class ITopologyWorkspaceProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ITopologyWorkspaceProxy
All Implemented Interfaces:
ITopologyWorkspace, Externalizable, Serializable

public class ITopologyWorkspaceProxy
extends com.esri.arcgis.interop.Dispatch
implements ITopologyWorkspace, Serializable

Provides access to members that access the topologies in a workspace.

Remarks

The ITopologyWorkspace interface provides access to the OpenTopology method that allows you open a topology within a workspace given only the topology’s name. Use this interface to open a topology when you only have a reference to a workspace object. For ArcSDE Geodatabases, the fully qualified name can be used to return topologies owned by specific users. If multiple topologies with the same name are owned by different users, OpenTopology will return the topology owned by the current user if an unqualified name is supplied.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ITopologyWorkspaceProxy()
           
  ITopologyWorkspaceProxy(Object obj)
           
protected ITopologyWorkspaceProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 ITopology openTopology(String name)
          Opens and returns the topology with the specified name.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITopologyWorkspaceProxy

public ITopologyWorkspaceProxy()

ITopologyWorkspaceProxy

public ITopologyWorkspaceProxy(Object obj)
                        throws IOException
Throws:
IOException

ITopologyWorkspaceProxy

protected ITopologyWorkspaceProxy(Object obj,
                                  String iid)
                           throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

openTopology

public ITopology openTopology(String name)
                       throws IOException,
                              AutomationException
Opens and returns the topology with the specified name.

Remarks

The OpenTopology method can be used to open any existing topology in the workspace given its fully qualified name. Note that every topology in a geodatabase has a unique fully qualified name. Use the IDatabaseConnectionInfo interface to determine the User and Database (if applicable). ISQLSyntax::QualifyTableName can be used to determine the fully qualified name for a topology. Use the IWorkspace2::NameExists method to determine if a topology with the appropriate name exists in the geodatabase.

Some examples of how to use the name parameter of OpenTopology are shown below:
For topologies in a Personal or File Geodatabase:
MyTopology
For topologies in an Oracle ArcSDE Geodatabase (the owner prefix is unnecessary if you are connected as the owner of the topology):
gdb.MyTopology

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
openTopology in interface ITopologyWorkspace
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.