com.esri.arcgis.geoprocessing
Class IGpCursorRowProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGpCursorRowProxy
All Implemented Interfaces:
IGpCursorRow, Externalizable, Serializable
Direct Known Subclasses:
IGpCursorRow2Proxy

public class IGpCursorRowProxy
extends com.esri.arcgis.interop.Dispatch
implements IGpCursorRow, Serializable

Provides access to the Cursor Row.

Superseded By

IGpCursorRow2

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGpCursorRowProxy()
           
  IGpCursorRowProxy(Object obj)
           
protected IGpCursorRowProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void deleteRow(ICursor pCursor, int cursorCookie)
          Deletes the existing row of the current position of the cursor.
 Object getValue(String field)
          Returns the value of the specified field in the row object.
 void insertRow(ICursor pCursor, int cursorCookie)
          Inserts a new row into the data source of the given cursor using the values of this row object.
 boolean isNull(String field)
          Indicates whether or not the value of the specified field in the row object is NULL.
 void removeListener(String iidStr, Object theListener)
           
 void setNull(String field)
          Sets the value of the specified field to NULL in the row object.
 void setRow(IRowBuffer pRowBuffer, IPropertySet pRowSet)
          Sets this row object with a new row.
 void setValue(String field, Object value)
          Sets the value of the specified field in the row object.
 void updateRow(ICursor pCursor, int cursorCookie)
          Updates the existing row of the current position of the cursor with the values of this row object.
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGpCursorRowProxy

public IGpCursorRowProxy()

IGpCursorRowProxy

public IGpCursorRowProxy(Object obj)
                  throws IOException
Throws:
IOException

IGpCursorRowProxy

protected IGpCursorRowProxy(Object obj,
                            String iid)
                     throws IOException
Throws:
IOException
Method Detail

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

updateRow

public void updateRow(ICursor pCursor,
                      int cursorCookie)
               throws IOException,
                      AutomationException
Updates the existing row of the current position of the cursor with the values of this row object.

Product Availability

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

Supported Platforms

Windows

Specified by:
updateRow in interface IGpCursorRow
Parameters:
pCursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
cursorCookie - The cursorCookie (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertRow

public void insertRow(ICursor pCursor,
                      int cursorCookie)
               throws IOException,
                      AutomationException
Inserts a new row into the data source of the given cursor using the values of this row object.

Product Availability

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

Supported Platforms

Windows

Specified by:
insertRow in interface IGpCursorRow
Parameters:
pCursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
cursorCookie - The cursorCookie (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRow

public void deleteRow(ICursor pCursor,
                      int cursorCookie)
               throws IOException,
                      AutomationException
Deletes the existing row of the current position of the cursor.

Product Availability

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

Supported Platforms

Windows

Specified by:
deleteRow in interface IGpCursorRow
Parameters:
pCursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
cursorCookie - The cursorCookie (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(String field,
                     Object value)
              throws IOException,
                     AutomationException
Sets the value of the specified field in the row object.

Product Availability

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

Supported Platforms

Windows

Specified by:
setValue in interface IGpCursorRow
Parameters:
field - The field (in)
value - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public Object getValue(String field)
                throws IOException,
                       AutomationException
Returns the value of the specified field in the row object.

Product Availability

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

Supported Platforms

Windows

Specified by:
getValue in interface IGpCursorRow
Parameters:
field - The field (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNull

public void setNull(String field)
             throws IOException,
                    AutomationException
Sets the value of the specified field to NULL in the row object.

Product Availability

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

Supported Platforms

Windows

Specified by:
setNull in interface IGpCursorRow
Parameters:
field - The field (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNull

public boolean isNull(String field)
               throws IOException,
                      AutomationException
Indicates whether or not the value of the specified field in the row object is NULL.

Product Availability

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

Specified by:
isNull in interface IGpCursorRow
Parameters:
field - The field (in)
Returns:
The isNull
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRow

public void setRow(IRowBuffer pRowBuffer,
                   IPropertySet pRowSet)
            throws IOException,
                   AutomationException
Sets this row object with a new row.

Product Availability

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

Specified by:
setRow in interface IGpCursorRow
Parameters:
pRowBuffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
pRowSet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.