borland Packages  Class Hierarchy  jbcl.dataset Package  Index 

RowStatus class

java.lang.Object
   +----borland.jbcl.dataset.RowStatus

About the RowStatus class

Variables  Properties  Methods  

All rows of a DataSet have status settings that are used by DataSet and other objects. The DataSet class uses a mask of 0 to determine whether the row is visible or hidden (filtered). Other status settings track the edit state of row, for example, INSERTED, UPDATED or DELETED. The edit states are used by the DataSet class when resolving new and updated data back to its source.


RowStatus variables

Variables implemented in this class

RowStatus properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

RowStatus methods

Methods implemented in java.lang.Object


RowStatus variables

DEFAULT

  public static final int DEFAULT = (RowStatus.UPDATED|RowStatus.INSERTED|RowStatus.LOADED)

DELETED

  public static final int DELETED = 0x01
The row has been deleted.

INSERTED

  public static final int INSERTED = 0x04
The row was added after the DataSet was loaded.

LOADED

  public static final int LOADED = 0x08
The row was loaded (ie from the execution of a QueryDataSet's JDBC query or an import operation).

ORIGINAL

  public static final int ORIGINAL = 0x10
This is the original copy of a changed row.

PENDING_RESOLVED

  public static final int PENDING_RESOLVED = 0x200
Row is pending resolution. Used internally.

UPDATED

  public static final int UPDATED = 0x02
Row has been changed.