com.esri.arcgis.geodatabasedistributed
Class DeltaDataChanges

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.DeltaDataChanges
All Implemented Interfaces:
IDataChanges, IDataChanges2, IDeltaDataChanges, IDeltaDataChanges2, IDeltaDataChangesInit, IDeltaDataChangesInit2, IDeltaDataChangesRelease, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DeltaDataChanges
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataChanges, IDataChanges2, IDeltaDataChanges, IDeltaDataChanges2, IDeltaDataChangesInit, IDeltaDataChangesInit2, IDeltaDataChangesRelease

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

Description 'The information needed to check in from a delta file or import edits from a delta file.' 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.IDataChanges2
IID, IID5f8f332e_316d_4fc0_9454_b2628cb9d546, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDataChanges
IIDe0951743_0d52_42ff_ab5e_32d07b5b8951
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDeltaDataChanges2
IID, IID288ac87d_ed18_460b_b720_dc4d082da610, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDeltaDataChanges
IIDa598405f_8302_42b8_a6a2_121cbb2b3e0a
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDeltaDataChangesInit2
IID, IID4c7fd0cf_fa09_4d49_b168_4767cf945c14, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDeltaDataChangesInit
IID725451c9_cd9d_4431_8020_c9ed11bb40f0
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDeltaDataChangesRelease
IID, IIDcb41732d_ec82_4e84_bfc1_a9a1135b02b5, xxDummy
 
Constructor Summary
DeltaDataChanges()
          Constructs a DeltaDataChanges using ArcGIS Engine.
DeltaDataChanges(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DeltaDataChanges theDeltaDataChanges = (DeltaDataChanges) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IDifferenceCursor extract(java.lang.String tableName, int changeType)
          Lists the edits in each feature class or table.
 int getBugfixVersion()
          Bugfix version level of the source geodatabase.
 int getChangesModelType()
          Geodabase model type, simple or full.
static java.lang.String getClsid()
          getClsid.
 java.lang.Object getContainer()
          The container, which can be a workspace or an XML document, in which the delta changes are stored.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMajorVersion()
          Major version level of the source geodatabase.
 int getMinorVersion()
          Minor version level of the source geodatabase.
 IEnumModifiedClassInfo getModifiedClassesInfo()
          Returns an enumeration listing of the feature classes and tables with edits.
 int getParentReplicaID()
          ID for the replica in the parent geodatabase.
 IWorkspaceName getParentWorkspaceName()
          Workspace of the master geodatabase.
 java.lang.String getReplicaGuid()
          GUID identifying the child/parent replica pair.
 int getReplicaMessageType()
          Identifies the replica message type of the data changes object.
 int hashCode()
          the hashcode for this object
 void init(java.lang.String changesFileName, int exportOption)
          Initializes the class by setting delta database file name and export option.
 void init2(java.lang.String changesFileName, int exportOption, boolean randomAccess)
          Initializes the class by setting delta database file name, export option, and the ability to access the file content randomly.
 void release()
          Release a DeltaDataChanges.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaDataChanges

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

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

DeltaDataChanges

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

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

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 DeltaDataChanges.

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

getModifiedClassesInfo

public IEnumModifiedClassInfo getModifiedClassesInfo()
                                              throws java.io.IOException,
                                                     AutomationException
Returns an enumeration listing of the feature classes and tables with edits.

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

extract

public IDifferenceCursor extract(java.lang.String tableName,
                                 int changeType)
                          throws java.io.IOException,
                                 AutomationException
Lists the edits in each feature class or table.

Specified by:
extract in interface IDataChanges
Parameters:
tableName - The tableName (in)
changeType - A com.esri.arcgis.geodatabasedistributed.esriDataChangeType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDifferenceCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentWorkspaceName

public IWorkspaceName getParentWorkspaceName()
                                      throws java.io.IOException,
                                             AutomationException
Workspace of the master geodatabase.

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

getParentReplicaID

public int getParentReplicaID()
                       throws java.io.IOException,
                              AutomationException
ID for the replica in the parent geodatabase.

Specified by:
getParentReplicaID in interface IDataChanges
Returns:
The parentReplicaID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaGuid

public java.lang.String getReplicaGuid()
                                throws java.io.IOException,
                                       AutomationException
GUID identifying the child/parent replica pair.

Specified by:
getReplicaGuid in interface IDataChanges
Returns:
The replicaGuid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChangesModelType

public int getChangesModelType()
                        throws java.io.IOException,
                               AutomationException
Geodabase model type, simple or full.

Specified by:
getChangesModelType in interface IDataChanges2
Returns:
A com.esri.arcgis.geodatabase.esriReplicaModelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContainer

public java.lang.Object getContainer()
                              throws java.io.IOException,
                                     AutomationException
The container, which can be a workspace or an XML document, in which the delta changes are stored.

Specified by:
getContainer in interface IDeltaDataChanges
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaMessageType

public int getReplicaMessageType()
                          throws java.io.IOException,
                                 AutomationException
Identifies the replica message type of the data changes object.

Specified by:
getReplicaMessageType in interface IDeltaDataChanges2
Returns:
A com.esri.arcgis.geodatabasedistributed.esriReplicaMessageType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(java.lang.String changesFileName,
                 int exportOption)
          throws java.io.IOException,
                 AutomationException
Initializes the class by setting delta database file name and export option.

Specified by:
init in interface IDeltaDataChangesInit
Parameters:
changesFileName - The changesFileName (in)
exportOption - A com.esri.arcgis.geodatabasedistributed.esriExportDataChangesOption constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init2

public void init2(java.lang.String changesFileName,
                  int exportOption,
                  boolean randomAccess)
           throws java.io.IOException,
                  AutomationException
Initializes the class by setting delta database file name, export option, and the ability to access the file content randomly.

Specified by:
init2 in interface IDeltaDataChangesInit2
Parameters:
changesFileName - The changesFileName (in)
exportOption - A com.esri.arcgis.geodatabasedistributed.esriExportDataChangesOption constant (in)
randomAccess - The randomAccess (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMajorVersion

public int getMajorVersion()
                    throws java.io.IOException,
                           AutomationException
Major version level of the source geodatabase.

Specified by:
getMajorVersion in interface IDeltaDataChangesRelease
Returns:
The versionNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinorVersion

public int getMinorVersion()
                    throws java.io.IOException,
                           AutomationException
Minor version level of the source geodatabase.

Specified by:
getMinorVersion in interface IDeltaDataChangesRelease
Returns:
The versionNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBugfixVersion

public int getBugfixVersion()
                     throws java.io.IOException,
                            AutomationException
Bugfix version level of the source geodatabase.

Specified by:
getBugfixVersion in interface IDeltaDataChangesRelease
Returns:
The versionNumber
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.