com.esri.arcgis.geodatabase
Interface IObjectClassName

All Superinterfaces:
Serializable
All Known Implementing Classes:
CoverageFeatureClassName, FeatureClassName, FgdbFeatureClassName, FgdbTableName, IObjectClassNameProxy, ObjectClassName, RasterCatalogName, SchematicDiagramClassName, TableName

public interface IObjectClassName
extends Serializable

Provides access to the objects class ID.

Remarks

The ObjectClassID property can be used to obtain the ID for this object class within a workspace that represents a geodatabase (for example, within a Personal, File or ArcSDE geodatabase). A value of -1 is returned if the table is not registered as an object class.

Product Availability

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


Method Summary
 int getObjectClassID()
          The object class ID.
 

Method Detail

getObjectClassID

int getObjectClassID()
                     throws IOException,
                            AutomationException
The object class ID.

Remarks

Each feature class or table registered with the geodatabase is an object class. Object classes have a unique ID which distinguishes them from other object classes in the geodatabase. The ObjectClassID property returns this ID as an integer. The object class ID is assigned by the system when the class is created, or registered with the geodatabase, it cannot be modified.

Tables that are in the database, but not registered with the geodatabase, will have an object class ID of -1.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.