borland Packages  Class Hierarchy  dx.dataset Package 

Resolver class (abstract)

java.lang.Object
   +----com.borland.dx.dataset.Resolver
           +----com.borland.dx.sql.dataset.SQLResolver

About the Resolver class

Properties  Methods  

Implements Designable, Serializable

The Resolver class is a base class for Resolver objects such as SQLResolver. A Resolver should be able to update a snapshot of a data source with changes from another snapshot of a database. The changes might be performed on a row by row basis, as SQLResolver does, or in a batch mode.


Resolver properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

Resolver methods

Methods implemented in this class

Methods implemented in java.lang.Object


Resolver methods

checkIfBusy(com.borland.dx.dataset.StorageDataSet)

  public void checkIfBusy(StorageDataSet dataSet)
Some implementations of resolveData(..) may optionally provide the data asynchronously. A StorageDataSet has to block action such as editing and providing until the asynchronous provide is done. This method allows an implementation to give an appropriate error message by raising a DataSetException. The default action is to do nothing, i.e. no asynchronous providing.

close(com.borland.dx.dataset.StorageDataSet)

  public void close(StorageDataSet dataSet)
Some implementations of Resolver cache information during the resolve. This method allows an implementation to release these resources and references for better garbage collection.

resolveData(com.borland.dx.dataset.DataSet)

  public abstract void resolveData(DataSet dataSet)
Resolves the modified data in a DataSet back to the data source. The destination of the data, and the method of saving the data is up to the implementation of this abstract method.