org.LexGrid.LexBIG.Extensions.Query
Interface Filter

All Superinterfaces:
Extendable, java.io.Serializable
All Known Implementing Classes:
FilterAdapter, FilterTest.AllButFordFilter, FilterTest.AllButGMFilter, TestFilter, TestFilter2

public interface Filter
extends Extendable

Allows for additional filtering of query results.


Method Summary
 boolean match(ResolvedConceptReference ref)
          Indicates whether or not the given reference satisfies criteria for this filter.
 
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable
getDescription, getName, getProvider, getVersion
 

Method Detail

match

boolean match(ResolvedConceptReference ref)
Indicates whether or not the given reference satisfies criteria for this filter. Filters should _NOT_ be used for search criteria that can be done with built in restrictions. Filters are very inefficient.

Parameters:
ref - The concept reference to evaluate.
Returns:
true if the reference is to be included in returned results; otherwise false.

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.