com.esri.arcgis.geodatabasedistributed
Interface IGdbSchemaCreator

All Superinterfaces:
Serializable
All Known Implementing Classes:
GdbSchemaCreator

public interface IGdbSchemaCreator
extends Serializable

Provides access to members that support geodatabase schema creation.

Remarks

The IGdbSchemaCreate interface provides two methods to create the schema for the data elements in the name mapping enumeration. The GenerateNameMapping method generates a name mapping enumeration for the arrays of data elements and domain. The CreateSchema method creates the schema for the data elements in the name mapping enumeration.

Product Availability

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

See Also:
GdbSchemaCreator

Method Summary
 void createSchema(IWorkspace pWorkspace, IEnumNameMapping pENM)
          Creates the schema for the data elements in the name mapping enumeration.
 void generateNameMapping(IWorkspace pWorkspace, IArray pDataElements, IArray pDomains, IEnumNameMapping[] ppENM, boolean[] pHasConflict)
          Generates a name mapping enumeration for the arrays of data elements and domains.
 

Method Detail

generateNameMapping

void generateNameMapping(IWorkspace pWorkspace,
                         IArray pDataElements,
                         IArray pDomains,
                         IEnumNameMapping[] ppENM,
                         boolean[] pHasConflict)
                         throws IOException,
                                AutomationException
Generates a name mapping enumeration for the arrays of data elements and domains.

Remarks

The GenerateNameMapping method generates a name mapping enumeration for the arrays of data elements and domain.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
pDataElements - A reference to a com.esri.arcgis.system.IArray (in)
pDomains - A reference to a com.esri.arcgis.system.IArray (in)
ppENM - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (out: use single element array)
pHasConflict - The pHasConflict (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSchema

void createSchema(IWorkspace pWorkspace,
                  IEnumNameMapping pENM)
                  throws IOException,
                         AutomationException
Creates the schema for the data elements in the name mapping enumeration.

Remarks

The CreateSchema method creates the schema for the data elements in the name mapping enumeration.

In order to create schema, you need to pass in IWorkspace and IEnumNameMapping.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
pENM - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.