S.O.D.A. - Simple Object Database Access - design documentation v. (unknown).

org.odbms
Interface Candidate


public interface Candidate

candidate for Evaluation callbacks.

During query execution all registered Evaluation callback handlers are called with Candidate proxies that represent the persistent objects that meet all other Query criteria.

A Candidate provides access to the persistent object it represents and allows to specify, whether it is to be included in the ObjectSet resultset.


Method Summary
 Object getObject()
          returns the persistent object that is represented by this query Candidate.
 void include(boolean flag)
          specify whether the Candidate is to be included in the ObjectSet resultset.
 

Method Detail

include

public void include(boolean flag)
specify whether the Candidate is to be included in the ObjectSet resultset.

This method may be called multiple times. The last call prevails.

Parameters:
flag - inclusion.

getObject

public Object getObject()
returns the persistent object that is represented by this query Candidate.

Returns:
Object the persistent object.

S.O.D.A. - Simple Object Database Access - design documentation v. (unknown).

You can get the current version of the specification at the S.O.D.A project at Sourceforge.
Build time of the docs you are viewing: Thursday, 19.09.2002, 23:39 GMT