com.esri.arcgis.geodatabasedistributed
Class GdbSchemaCreator

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.GdbSchemaCreator
All Implemented Interfaces:
IGdbSchemaCreator, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class GdbSchemaCreator
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGdbSchemaCreator, ISupportErrorInfo

ESRI Geodatabase Schema Creator object.

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
GdbSchemaCreator()
          Constructs a GdbSchemaCreator using ArcGIS Engine.
GdbSchemaCreator(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GdbSchemaCreator theGdbSchemaCreator = (GdbSchemaCreator) obj;
 
Method Summary
 void createSchema(IWorkspace pWorkspace, IEnumNameMapping pENM)
          Creates the schema for the data elements in the name mapping enumeration.
 boolean equals(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.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

GdbSchemaCreator

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

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GdbSchemaCreator

public GdbSchemaCreator(Object obj)
                 throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GdbSchemaCreator theGdbSchemaCreator = (GdbSchemaCreator) obj;

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.

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

generateNameMapping

public 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

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSchema

public 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

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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