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

UpdateMode class

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

About the UpdateMode class

Variables  Properties  Methods  
The UpdateMode class collects constants used when resolving changes for the QueryDataSet and ProcedureDataSet components.

UpdateMode variables

Variables implemented in this class

UpdateMode properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

UpdateMode methods

Methods implemented in this class

Methods implemented in java.lang.Object


UpdateMode variables

ALL_COLUMNS

  public static final int ALL_COLUMNS = 1
ALL_COLUMNS (the default): Every column is used to find the row being updated. This is the most restrictive mode.

CHANGED_COLUMNS

  public static final int CHANGED_COLUMNS = 3
CHANGED_COLUMNS: The key columns and columns that have changed are used to find the record being updated.

KEY_COLUMNS

  public static final int KEY_COLUMNS = 2
KEY_COLUMNS: Only the key columns are used to find the record being updated. This is the least restrictive mode and should be used only if other users will not be changing the records being updated.

UNASSIGNED

  public static final int UNASSIGNED = 0

UpdateMode methods

isValid(int)

  public static final boolean isValid(int updateMode)