public class FeatureCursor extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ICursor, IFeatureCursor
Description 'Esri Feature 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
IID, IIDd4803ef8_79f4_11d0_97fc_0080c7f79481, xxDummy
Constructor and Description |
---|
FeatureCursor(java.lang.Object obj)
Construct a FeatureCursor using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteFeature()
Delete the existing Feature in the database corresponding to the current position of the cursor.
|
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 |
insertFeature(IFeatureBuffer buffer)
Insert a new Feature into the database using the property values in the input buffer.
|
java.lang.Object |
insertRow(IRowBuffer buffer)
Insert a new Row into the database using the property values in the input buffer.
|
IFeature |
nextFeature()
Advance the position of the cursor by one and return the Feature object at that position.
|
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 |
updateFeature(IFeature object)
Update the existing Feature in the database corresponding to the current position of the cursor.
|
void |
updateRow(IRow row)
Update the existing Row in the database corresponding to the current position of the cursor.
|
public FeatureCursor(java.lang.Object obj) throws java.io.IOException
obj
to FeatureCursor
. *
FeatureCursor o = (FeatureCursor)obj; // will not work
FeatureCursor o = new FeatureCursor(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
FeatureCursor theFeatureCursor = (FeatureCursor) obj;
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int findField(java.lang.String name) throws java.io.IOException, AutomationException
findField
in interface ICursor
findField
in interface IFeatureCursor
name
- 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 ICursor
getFields
in interface IFeatureCursor
java.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 ICursor
java.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 ICursor
row
- 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 ICursor
java.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 ICursor
buffer
- 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 ICursor
flush
in interface IFeatureCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFeature nextFeature() throws java.io.IOException, AutomationException
nextFeature
in interface IFeatureCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void updateFeature(IFeature object) throws java.io.IOException, AutomationException
updateFeature
in interface IFeatureCursor
object
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteFeature() throws java.io.IOException, AutomationException
deleteFeature
in interface IFeatureCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object insertFeature(IFeatureBuffer buffer) throws java.io.IOException, AutomationException
insertFeature
in interface IFeatureCursor
buffer
- A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.