com.mobixess.jodb.soda.api
Interface Candidate

All Known Implementing Classes:
CandidateImpl

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
 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.
 

Method Detail

include

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

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

Returns:
Object the persistent object.


Copyright © Mobixess Inc. All Rights Reserved.