com.esri.arcgis.geodatabase
Interface IObjectClassContainer

All Superinterfaces:
Serializable
All Known Implementing Classes:
IObjectClassContainerProxy

public interface IObjectClassContainer
extends Serializable

Provides access to members that return object classes by name, ID and index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IObjectClass getObjectClassByID(int iD)
          The object class with the specified ID.
 IObjectClass getObjectClassByName(String name)
          The object class with the specified name.
 int getObjectClassCount()
          The number of object classes in this container.
 IEnumObjectClass getObjectClasses()
          An enumerator over the object classes.
 

Method Detail

getObjectClassByID

IObjectClass getObjectClassByID(int iD)
                                throws IOException,
                                       AutomationException
The object class with the specified ID.

Product Availability

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

Parameters:
iD - The iD (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IObjectClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectClassByName

IObjectClass getObjectClassByName(String name)
                                  throws IOException,
                                         AutomationException
The object class with the specified name.

Product Availability

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

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

getObjectClassCount

int getObjectClassCount()
                        throws IOException,
                               AutomationException
The number of object classes in this container.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getObjectClasses

IEnumObjectClass getObjectClasses()
                                  throws IOException,
                                         AutomationException
An enumerator over the object classes.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumObjectClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.