public class Cursor extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ICursor
Description 'Esri Cursor 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 =
IID, IIDd4803ee7_79f4_11d0_97fc_0080c7f79481, xxDummy| Constructor and Description |
|---|
Cursor(java.lang.Object obj)
Construct a Cursor using a reference to such an object returned from ArcGIS Engine or Server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRow()
Delete the existing Row in the database corresponding to the current position of the cursor.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
findField(java.lang.String name)
The index of the field with the specified name.
|
void |
flush()
Flush any outstanding buffered writes to the database.
|
IFields |
getFields()
The Fields Collection for this cursor.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
java.lang.Object |
insertRow(IRowBuffer buffer)
Insert a new Row into the database using the property values in the input buffer.
|
IRow |
nextRow()
Advance the position of the cursor by one and return the Row object at that position.
|
void |
release()
Release this COM object reference
|
void |
updateRow(IRow row)
Update the existing Row in the database corresponding to the current position of the cursor.
|
public Cursor(java.lang.Object obj)
throws java.io.IOException
obj to Cursor. *
Cursor o = (Cursor)obj; // will not work
Cursor o = new Cursor(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problems
Cursor theCursor = (Cursor) obj;public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic int findField(java.lang.String name)
throws java.io.IOException,
AutomationException
findField in interface ICursorname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFields getFields() throws java.io.IOException, AutomationException
getFields in interface ICursorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRow nextRow() throws java.io.IOException, AutomationException
nextRow in interface ICursorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void updateRow(IRow row) throws java.io.IOException, AutomationException
updateRow in interface ICursorrow - A reference to a com.esri.arcgis.geodatabase.IRow (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteRow()
throws java.io.IOException,
AutomationException
deleteRow in interface ICursorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object insertRow(IRowBuffer buffer) throws java.io.IOException, AutomationException
insertRow in interface ICursorbuffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void flush()
throws java.io.IOException,
AutomationException
flush in interface ICursorjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.