borland Packages Class Hierarchy dx.dataset Package
com.borland.dx.dataset.RowStatus
Variables
All rows of a DataSet
have status settings that are used by DataSet
and other
classes. 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
settings are used to track edits to rows in a DataSet
, for example, INSERTED, UPDATED, or DELETED rows will be tracked. DataSets
can also be filtered by RowStatus
settings. For more information, see StorageDataSet.getDeletedRows(...)
, StorageDataSet.getUpdatedRows(...)
, and StorageDataSet.getInsertedRows(...)
.
Resolver
components like the QueryResolver
component used by QueryDataSet
to save changes need RowStatus
information to know how to save changes back to a JDBC data source. For more information, see StorageDataSet.startLoading(...)
, StorageDataSet.endLoading()
, StorageDataSet.loadRow(...)
to see how rows can be added with a specified row status.
static final int DEFAULT = RowStatus.UPDATED|RowStatus.INSERTED|RowStatus.LOADED)This variable is used internally by other
com.borland
classes. You should never use this variable directly.
static final int DEFAULT_HIDDEN = RowStatus.DELETED|RowStatus.ORIGINALThis variable is used internally by other
com.borland
classes. You should never use this variable directly.
public static final int DELETED = 0x01The row has been deleted.
public static final int INSERTED = 0x04The row was added after the
DataSet
was loaded.
public static final int LOADED = 0x08The row was loaded (such as from the execution of a QueryDataSet's JDBC query or an import operation).
public static final int ORIGINAL = 0x10This is the original copy of a changed row.
public static final int PENDING_RESOLVED = 0x200Row is pending resolution. Used internally.
public static final int UPDATED = 0x02Row has been changed.