org.ov4j.db4oImpl
Class MultipleIDValidator<C extends java.lang.Comparable<? super C>>

java.lang.Object
  extended by org.ov4j.db4oImpl.MultipleIDValidator<C>
All Implemented Interfaces:
com.db4o.query.Evaluation, java.io.Serializable

public class MultipleIDValidator<C extends java.lang.Comparable<? super C>>
extends java.lang.Object
implements com.db4o.query.Evaluation

This class is used to validate multiple IDs at once.

Author:
smolloy
See Also:
Serialized Form

Constructor Summary
MultipleIDValidator(C[] ids)
          Constructor.
 
Method Summary
 void evaluate(com.db4o.query.Candidate c)
          Evaluates whether or not the candidate should be included in the results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleIDValidator

public MultipleIDValidator(C[] ids)
Constructor.

Parameters:
ids - IDs to use for validation.
Method Detail

evaluate

public void evaluate(com.db4o.query.Candidate c)
Evaluates whether or not the candidate should be included in the results.

Specified by:
evaluate in interface com.db4o.query.Evaluation


Copyright © 2004-2007 Steve Molloy. All Rights Reserved.