com.esri.arcgis.geodatabase
Class IDifferenceCursorExProxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IDifferenceCursorExProxy
- All Implemented Interfaces:
- IDifferenceCursorEx, Externalizable, Serializable
public class IDifferenceCursorExProxy
- extends com.esri.arcgis.interop.Dispatch
- implements IDifferenceCursorEx, Serializable
Provides access to members that control the difference cursor.
Description
The IDifferenceCursorEx interface returns a cursor of OIDs and two IRows based upon the difference type used with IDataChangesEx::ExtractEx.
Remarks
The set of object IDs returned is dependant on the difference type category. For example, if the difference type DeleteNoChange is applied, the cursor will be nothing since the row no longer exists. In this case, it is necessary to enumerate until the returned OID equals -1. Use the OID returned in the cursor to retrieve the row in the other version of the table where the row has not been deleted yet.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- See Also:
- Serialized Form
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
IDifferenceCursorExProxy
public IDifferenceCursorExProxy()
IDifferenceCursorExProxy
public IDifferenceCursorExProxy(Object obj)
throws IOException
- Throws:
IOException
IDifferenceCursorExProxy
protected IDifferenceCursorExProxy(Object obj,
String iid)
throws IOException
- Throws:
IOException
addListener
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
- Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
removeListener
public void removeListener(String iidStr,
Object theListener)
throws IOException
- Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
next
public void next(int[] oID,
IRow[] sourceRow,
IRow[] differenceRow,
ILongArray[] differentValueIndices)
throws IOException,
AutomationException
- Returns the source row, the difference row and an array with indices of fields with different values.
Remarks
The Next method can be used to populate two IRow objects corresponding to the SourceRow, DifferenceRow and a LongArray corresponding to the field index values.
IRow objects returned from a difference cursor are meant to be a read only. If row editing is desired the OID returned from the call to IDifferenceCursorEx::NextRow should be used in a call to the ITable::GetRow or ITable::GetRows methods.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- Specified by:
next in interface IDifferenceCursorEx
- Parameters:
oID - The oID (out: use single element array)sourceRow - A reference to a com.esri.arcgis.geodatabase.IRow (out: use single element array)differenceRow - A reference to a com.esri.arcgis.geodatabase.IRow (out: use single element array)differentValueIndices - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
ClassNotFoundException