borland Packages Class Hierarchy dx.sql.dataset Package
com.borland.dx.sql.dataset.DefaultResolver
Methods
Implemented by SQLResolutionManager
The DefaultResolver
interface collects behavior for supplying a Resolver
object
to the ResolutionManager
. Objects implementing this interface are responsible for
specifying an initialized Resolver
object to the ResolutionManager
.
Whenever the ResolutionManager
needs a Resolver
object, it invokes the getResolver()
method and passes to it the current DataSet
being resolved. An implementation of this object can either
return an instance of a specific type of Resolver
, or can extract the resolver
property (if one
exists) from the DataSet
passed in. If no Resolver
property is set for the DataSet
, it is
this object's responsibility to return an instance to a Resolver
for the ResolutionManager
to use.
The Database
component implements this class and uses the QueryResolver
as its default
Resolver
object.
public Resolver getResolver(DataSet dataSet)Returns the
Resolver
associated with the specified dataSet
.
Implementations of this method are responsible for doing any initialization required by the Resolver
object.