com.esri.arcgis.geodatabasedistributed
Class ReplicaSchemaImporter

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.ReplicaSchemaImporter
All Implemented Interfaces:
IImportSchema, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ReplicaSchemaImporter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IImportSchema

ESRI Replica Schema Importer object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ReplicaSchemaImporter()
          Constructs a ReplicaSchemaImporter using ArcGIS Engine.
ReplicaSchemaImporter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ReplicaSchemaImporter theReplicaSchemaImporter = (ReplicaSchemaImporter) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void importSchema(ISchemaChanges schemaChanges)
          Import schema info.
 
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

ReplicaSchemaImporter

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

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

ReplicaSchemaImporter

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

Construct a ReplicaSchemaImporter using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ReplicaSchemaImporter.

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

importSchema

public void importSchema(ISchemaChanges schemaChanges)
                  throws IOException,
                         AutomationException
Import schema info.

Remarks

This method is used to import schema into a target workspace.

It takes one parameter, a reference to a schemachanges object as input. The schemachanges object must first be initialized by methods on the ISchemaChangesInit interface. This is where you will specify the target workspace. See the SchemaChanges coclass for more information.

See the ReplicaSchemaExporter coclass for information on exporting a replica schema.

Product Availability

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

Specified by:
importSchema in interface IImportSchema
Parameters:
schemaChanges - A reference to a com.esri.arcgis.geodatabasedistributed.ISchemaChanges (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.