com.esri.arcgis.geodatabase
Class IFeatureWorkspaceManage2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IFeatureWorkspaceManageProxy
          extended by com.esri.arcgis.geodatabase.IFeatureWorkspaceManage2Proxy
All Implemented Interfaces:
IFeatureWorkspaceManage, IFeatureWorkspaceManage2, Externalizable, Serializable

public class IFeatureWorkspaceManage2Proxy
extends IFeatureWorkspaceManageProxy
implements IFeatureWorkspaceManage2, Serializable

Provides access to dataset deletion and renaming, table and index analysis, field validation and version and object class registration.

Remarks

The IFeatureWorkspaceManage2 interface extents the IFeatureWorkspaceManage to include utility methods that return the names of object classes and relationship classes based on the class IDs.

Product Availability

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

See Also:
IObjectClass, IWorkspace, 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
  IFeatureWorkspaceManage2Proxy()
           
  IFeatureWorkspaceManage2Proxy(Object obj)
           
protected IFeatureWorkspaceManage2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getObjectClassNameByID(int objectClassID)
          Gets fully qualified feature class name by object class id.
 String getRelationshipClassNameByID(int relClassId)
          Gets fully qualified relationship class name by relationship class id.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IFeatureWorkspaceManageProxy
analyzeIndex, analyzeTable, canDelete, canRename, deleteByName, isRegisteredAsObjectClass, isRegisteredAsVersioned, validateField
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceManage
analyzeIndex, analyzeTable, canDelete, canRename, deleteByName, isRegisteredAsObjectClass, isRegisteredAsVersioned, validateField
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFeatureWorkspaceManage2Proxy

public IFeatureWorkspaceManage2Proxy()

IFeatureWorkspaceManage2Proxy

public IFeatureWorkspaceManage2Proxy(Object obj)
                              throws IOException
Throws:
IOException

IFeatureWorkspaceManage2Proxy

protected IFeatureWorkspaceManage2Proxy(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 IFeatureWorkspaceManageProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IFeatureWorkspaceManageProxy
Throws:
IOException

getObjectClassNameByID

public String getObjectClassNameByID(int objectClassID)
                              throws IOException,
                                     AutomationException
Gets fully qualified feature class name by object class id.

Remarks

The GetObjectClassNameByID method can be used to get the fully qualified name of a feature class or table that is registered as an ObjectClass with the geodatabase based on its ObjectClass ID. This name can then be used in a method such as IFeatureWorkspace::OpenFeatureClass, or IFeatureWorkspace::OpenTable to open the feature class or table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getObjectClassNameByID in interface IFeatureWorkspaceManage2
Parameters:
objectClassID - The objectClassID (in)
Returns:
The qname
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IObjectClass

getRelationshipClassNameByID

public String getRelationshipClassNameByID(int relClassId)
                                    throws IOException,
                                           AutomationException
Gets fully qualified relationship class name by relationship class id.

Remarks

The GetRelationshipClassNameByID method can be used to get the fully qualified name of a relationship class based on its RelationshipClass ID. This name can then be used in a method such as IFeatureWorkspace::OpenRelationshipClass to open the relationship class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipClassNameByID in interface IFeatureWorkspaceManage2
Parameters:
relClassId - The relClassId (in)
Returns:
The qname
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.