com.esri.arcgis.geodatabasedistributed
Class SchemaChanges

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.SchemaChanges
All Implemented Interfaces:
ISchemaChanges, ISchemaChangesInit, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SchemaChanges
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchemaChanges, ISchemaChangesInit

COM Class 'SchemaChanges'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'

Description 'Esri Schema Changes object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.ISchemaChanges
IID, IIDd14b724a_ac95_4cd2_9242_7235f4fb5587, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.ISchemaChangesInit
IID, IIDe94e335a_e1f0_4a55_9e8d_e6492b033333, xxDummy
 
Constructor Summary
SchemaChanges()
          Constructs a SchemaChanges using ArcGIS Engine.
SchemaChanges(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchemaChanges theSchemaChanges = (SchemaChanges) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IEnumSchemaChange getChanges()
          An enumeration of the replica schema changes.
static java.lang.String getClsid()
          getClsid.
 IGPReplica getFromReplica()
          The replica thatis the source of the schema changes.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IGPReplica getToReplica()
          The replica that is the target for the schema changes.
 int hashCode()
          the hashcode for this object
 void init(IReplica replica, IWorkspaceName targetWorkspaceName)
          Initializes the object using the replica and the target replica workspace.
 void initFromSchemaDifferencesDocument(java.lang.String xmlFile, IWorkspaceName targetWorkspaceName)
          Initializes the object using a schema differences document and a target replica workspace.
 void initFromSchemaDocument(java.lang.String xmlFile, IWorkspaceName targetWorkspaceName)
          Initializes the object using a replica schema document and a target replica workspace.
 void release()
          Release a SchemaChanges.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaChanges

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

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

SchemaChanges

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

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

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()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SchemaChanges.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getChanges

public IEnumSchemaChange getChanges()
                             throws java.io.IOException,
                                    AutomationException
An enumeration of the replica schema changes.

Specified by:
getChanges in interface ISchemaChanges
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IEnumSchemaChange
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromReplica

public IGPReplica getFromReplica()
                          throws java.io.IOException,
                                 AutomationException
The replica thatis the source of the schema changes.

Specified by:
getFromReplica in interface ISchemaChanges
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPReplica
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToReplica

public IGPReplica getToReplica()
                        throws java.io.IOException,
                               AutomationException
The replica that is the target for the schema changes.

Specified by:
getToReplica in interface ISchemaChanges
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPReplica
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IReplica replica,
                 IWorkspaceName targetWorkspaceName)
          throws java.io.IOException,
                 AutomationException
Initializes the object using the replica and the target replica workspace.

Specified by:
init in interface ISchemaChangesInit
Parameters:
replica - A reference to a com.esri.arcgis.geodatabase.IReplica (in)
targetWorkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initFromSchemaDocument

public void initFromSchemaDocument(java.lang.String xmlFile,
                                   IWorkspaceName targetWorkspaceName)
                            throws java.io.IOException,
                                   AutomationException
Initializes the object using a replica schema document and a target replica workspace.

Specified by:
initFromSchemaDocument in interface ISchemaChangesInit
Parameters:
xmlFile - The xmlFile (in)
targetWorkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initFromSchemaDifferencesDocument

public void initFromSchemaDifferencesDocument(java.lang.String xmlFile,
                                              IWorkspaceName targetWorkspaceName)
                                       throws java.io.IOException,
                                              AutomationException
Initializes the object using a schema differences document and a target replica workspace.

Specified by:
initFromSchemaDifferencesDocument in interface ISchemaChangesInit
Parameters:
xmlFile - The xmlFile (in)
targetWorkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.