|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IRowBufferProxy
com.esri.arcgis.geodatabase.IRowProxy
Provides access to members that return information about the row, the table the row belongs to and storing and deleting the row.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IRowProxy()
For internal use only |
|
IRowProxy(java.lang.Object obj)
|
protected |
IRowProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IRowProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IRowProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
delete()
Deletes the row. |
int |
getOID()
The OID for the row. |
ITable |
getTable()
The Table for the row. |
boolean |
isHasOID()
Indicates if the row has an OID. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
store()
Stores the row. |
| Methods inherited from class com.esri.arcgis.geodatabase.IRowBufferProxy |
getFields, getValue, setValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.geodatabase.IRowBuffer |
getFields, getValue, setValue |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IRowProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IRowProxy()
public IRowProxy(java.lang.Object obj)
throws java.io.IOException
protected IRowProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IRowProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class IRowBufferProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IRowBufferProxyjava.io.IOException
public boolean isHasOID()
throws java.io.IOException,
AutomationException
IRowIf the table has been registered with the geodatabase it will have unique Object ID, automatically created by the register tool, and the HasOID property will be set to True. Tables not registered with the geodatabase will not have an OID column and the HasOID property will be set to False. See the IClassSchemaEdit::RegisterAsObjectClass method for more information.
isHasOID in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getOID()
throws java.io.IOException,
AutomationException
IRowGets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.
getOID in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITable getTable()
throws java.io.IOException,
AutomationException
IRowReturns a pointer to the table the row belongs to.
getTable in interface IRowjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void store()
throws java.io.IOException,
AutomationException
IRowThe Store method is called by an application once it has modified the values of a Row. Once Store is called on a Row object, all subsequent queries within the same edit session, using the Geodatabase API, will reflect the modified state of the Row object.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
Calling the Store method triggers the following actions:
- The IRowEvents::OnChanged is called for the row being stored. The OnNew is called if this is a newly created row being stored for the first time. A custom row object can implement the OnChanged method and take some special action when it is called - for example; update a special column in the row
- The IRelatedObjectEvents::RelatedObjectChanged method is called for related objects in a related object class if the table for this row is an object class that participates in relationship classes with notification
Store should not be used for batch operations, such as updates or inserts. For performing a number of inserts or updates using cursors, refer to the ITable::Insert, ITable::Update, ITable::UpdateSearchedRows , IFeatureClass::Update andIFeatureClass::Insert. If an insert or update cursor is used on non-simple features (such as network features), the cursor will revert to using Store.
It is not necessary to explicitly call Connect on network features, this is handled polymorphically when Store is called on the feature. This is also the case with features in a Topology, Dirty Area creation is handled internally when Store is called.
Store should not be called inside of edit events, such as OnCreateFeature, OnChangeFeature or OnDeleteFeature. Even if you are modifying the geometry or other field values, Store will be called once the event is complete.
store in interface IRowjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
IRowAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
delete in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||