com.esri.arcgis.geodatabasedistributed
Class DataChanges

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.DataChanges
All Implemented Interfaces:
IDataChanges, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DataChanges
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataChanges

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

Description 'The edits in check-outs, modified rows in versions or edits in 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.IDataChanges
IID, IIDe0951743_0d52_42ff_ab5e_32d07b5b8951, xxDummy
 
Constructor Summary
DataChanges(java.lang.Object obj)
          Construct a DataChanges using a reference to such an object returned from ArcGIS Engine or Server.
 
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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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 hashCode()
          the hashcode for this object
 void release()
          Release a DataChanges.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataChanges

public DataChanges(java.lang.Object obj)
            throws java.io.IOException
Construct a DataChanges using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DataChanges.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
DataChanges o = (DataChanges)obj; // will not work

DataChanges o = new DataChanges(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems DataChanges theDataChanges = (DataChanges) obj;
Method Detail

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

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.