public interface QueryResultHelper
Modifier and Type | Method and Description |
---|---|
boolean |
applyFilter(java.lang.Object obj)
This method determines whether the specified object is assignment
compatible to the candidate Class specified by the user and satisfies
the query filter.
|
java.lang.Object |
getCandidates()
Return the candidate Collection or Extent specified by
the user.
|
java.util.List |
orderCandidates(java.util.Collection candidates)
This method filters the specified collection, removing all elements that
are not assignment compatible to the candidate Class specified by the
user, and then orders the results according to the ordering expression
specified by the user.
|
java.lang.Object getCandidates()
java.util.List orderCandidates(java.util.Collection candidates)
candidates
- the collection of instances to be filtered and orderedboolean applyFilter(java.lang.Object obj)
obj
- the candidate object.true
if the specified object is of the candidate
class and satisfies the query filter; false otherwise
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.