com.esri.arcgis.geodatabase
Interface IFeatureWorkspaceManage2

All Superinterfaces:
IFeatureWorkspaceManage, Serializable
All Known Implementing Classes:
IFeatureWorkspaceManage2Proxy, Sde4Workspace

public interface IFeatureWorkspaceManage2
extends IFeatureWorkspaceManage, 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

Method Summary
 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.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceManage
analyzeIndex, analyzeTable, canDelete, canRename, deleteByName, isRegisteredAsObjectClass, isRegisteredAsVersioned, validateField
 

Method Detail

getObjectClassNameByID

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

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

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

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