com.db4o.query
Interface Candidate
- public interface Candidate
candidate for Evaluation
callbacks.
During {@linkplain Query#execute 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 |
java.lang.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.
|
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 java.lang.Object getObject()
- returns the persistent object that is represented by this query
Candidate
.
- Returns:
- Object the persistent object.