com.esri.arcgis.geodatabasedistributed
Class GdbSchemaCreator

java.lang.Object
  extended bycom.esri.arcgis.geodatabasedistributed.GdbSchemaCreator
All Implemented Interfaces:
IGdbSchemaCreator, ISupportErrorInfo, java.io.Serializable

public class GdbSchemaCreator
extends java.lang.Object
implements IGdbSchemaCreator, ISupportErrorInfo

Geodatabase Schema Creator Object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

Use the GdbSchemaCreator coclass when you wish to create schema for domains or dataset from a workspace or dataset data element.  See the IGdbSchemaCreator methods for more on getting information about creating domains or dataset schema.

See Also:
IGdbSchemaCreator, Serialized Form

Constructor Summary
GdbSchemaCreator()
          Constructs a GdbSchemaCreator using ArcGIS Engine.
GdbSchemaCreator(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void createSchema(IWorkspace pWorkspace, IEnumNameMapping pENM)
          Creates the schema for the data elements in the name mapping enumeration.
 boolean equals(java.lang.Object o)
          Compare this object with another
 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.
 IGdbSchemaCreator getAsIGdbSchemaCreator()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ISupportErrorInfo getAsISupportErrorInfo()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String getClsid()
           
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          Supported Platforms
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GdbSchemaCreator

public GdbSchemaCreator()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a GdbSchemaCreator using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GdbSchemaCreator

public GdbSchemaCreator(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a GdbSchemaCreator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GdbSchemaCreator.
GdbSchemaCreator theGdbSchemaCreator = (GdbSchemaCreator) obj;

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()

getAsIGdbSchemaCreator

public IGdbSchemaCreator getAsIGdbSchemaCreator()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsISupportErrorInfo

public ISupportErrorInfo getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


generateNameMapping

public void generateNameMapping(IWorkspace pWorkspace,
                                IArray pDataElements,
                                IArray pDomains,
                                IEnumNameMapping[] ppENM,
                                boolean[] pHasConflict)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IGdbSchemaCreator
Generates a name mapping enumeration for the arrays of data elements and domains.

Supported Platforms

Windows, Solaris, Linux

Remarks

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

Specified by:
generateNameMapping in interface IGdbSchemaCreator
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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
See Also:
IGdbSchemaCreator

createSchema

public void createSchema(IWorkspace pWorkspace,
                         IEnumNameMapping pENM)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IGdbSchemaCreator
Creates the schema for the data elements in the name mapping enumeration.

Supported Platforms

Windows, Solaris, Linux

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.

 

Specified by:
createSchema in interface IGdbSchemaCreator
Parameters:
pWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
pENM - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IGdbSchemaCreator

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: ISupportErrorInfo

Supported Platforms

Windows, Solaris, Linux

Description

Indicates whether the interface supports IErrorInfo.

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.