borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.dataset
borland.jbcl.dataset.DefaultResolver
Methods
Implemented by SQLResolutionManager
The DefaultResolver interface collects behavior for providing a Resovler object to the ResolutionManager. Objects implementing this interface are responsible for providing an initialize 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 proeprty (if one exists) from the DataSet passed in. If no Resovler 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 the default Resovler object.
public Resolver getResolver(borland.jbcl.dataset.DataSet dataSet)Implementations of this method are responsible for doing any initialization required by the Resolver object. For example, objects derived from DatabaseResolver require that their init() method is invoked with the associated Database as a parameter before any resolving is performed.