com.esri.arcgis.geodatabase
Interface IRowChanges

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnnotationFeature, AttributedRelationship, ComplexEdgeFeature, ComplexJunctionFeature, CoverageAnnotationFeature, DimensionFeature, esri_Object, Feature, GeocodedFeature, GeocodingIndexObject, IRowChangesProxy, NALocationFeature, NALocationObject, NATraversalResultElement, RasterCatalogItem, Row, SchematicDiagram, SchematicDrawing, SchematicLink, SchematicNode, SchematicNodeOnLink, SchematicSubLink, SimpleEdgeFeature, SimpleJunctionFeature, TemporalFeature, TopologyErrorFeature

public interface IRowChanges
extends Serializable

Provides access to members that return information about changed values and the original value in a row.

Remarks

The IRowChanges interface allows clients of a row object to determine the values that were changed for the row object within a Store cycle. Once the Store method call returns to the calling application program, the information regarding the values that were changed is cleared and is no longer available. This information may be made use of by a custom object in its OnChanged or OnNew implementation and also by a related object in its implementation of the RelatedObjectChanged method.

The ValueChanged method returns true if the value for the specified field was changed since the last call to Store on the row object.

The OriginalValue method returns the value for the specified field as it existed prior to the first update made to the row object since the last call to Store on the row object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 Object getOriginalValue(int index)
          The value of the field at the specified index immediately after the last call to Store on the Row object.
 boolean isValueChanged(int index)
          Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object.
 

Method Detail

isValueChanged

boolean isValueChanged(int index)
                       throws IOException,
                              AutomationException
Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The changed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOriginalValue

Object getOriginalValue(int index)
                        throws IOException,
                               AutomationException
The value of the field at the specified index immediately after the last call to Store on the Row object.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.