com.esri.arcgis.geodatabase
Interface IClassSchemaEdit2

All Superinterfaces:
IClassSchemaEdit, java.io.Serializable
All Known Subinterfaces:
IClassSchemaEdit3
All Known Implementing Classes:
FeatureClass, IClassSchemaEdit2Proxy, IClassSchemaEdit3Proxy, ObjectClass, RasterCatalog, SchematicDiagramClass, SchematicElementClass

public interface IClassSchemaEdit2
extends IClassSchemaEdit, java.io.Serializable

Provides access to members that modify an object class's extension properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

When To Use

Use the IClassSchemaEdit2 interface when you want to modify the class extension proerties of an object class that already has a class extension associated with it.

Remarks

When using the IClassSchemaEdit2 object to alter an object class' class schema, you should first acquire an exclusive schema lock using the ISchemaLock interface to be sure that another application or user does not have the class open while you are trying to modify its schema.

You can QI for the IClassSchemEdit2 interface from the IObjectClass interface.

See Also:
IPropertySet, IObjectClassExtension

Method Summary
 void alterClassExtensionProperties(IPropertySet classExtensionProperties)
          Changes the class extension properties associated with this object class.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IClassSchemaEdit
alterAliasName, alterClassExtensionCLSID, alterDefaultValue, alterDomain, alterFieldAliasName, alterFieldModelName, alterInstanceCLSID, alterModelName, registerAsObjectClass
 

Method Detail

alterClassExtensionProperties

public void alterClassExtensionProperties(IPropertySet classExtensionProperties)
                                   throws java.io.IOException,
                                          AutomationException
Changes the class extension properties associated with this object class.

Supported Platforms

Windows, Solaris, Linux

Description

The AlterClassExtensionProperties method is used to change the class extension properties for an object class in the Geodatabase that already has a class extension associated with it.

Remarks

AlterClassExtensionProperties takes as an argument the new properties for the class extension as an IPropertySet.

Parameters:
classExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IPropertySet, IObjectClassExtension