borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.dataset 

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, 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
Row has been deleted.

DELETE_RESOLVED

  public static final int DELETE_RESOLVED = 0x80
Row has been saved back to original data source.

DETAILS_FETCHED

  public static final int DETAILS_FETCHED = 0x20
Whenever a detail fetch has been attempted for a master row, this bit is set on the master row. This way, a master row's details are only fetched once.

INSERTED

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

INSERT_RESOLVED

  public static final int INSERT_RESOLVED = 0x40
Row has been saved back to original data source.

LOADED

  public static final int LOADED = 0x08
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.

UPDATE_RESOLVED

  public static final int UPDATE_RESOLVED = 0x100
Row has been saved back to original data source.