ca.uhn.cache
Interface IQuery

All Known Implementing Classes:
Query

public interface IQuery

Represents a conjunction of IQueryParams that scopes a set of results.

Version:
$Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:08 $ by $Author: bryan_tripp $
Author:
Alexei Guevara, Bryan Tripp

Method Summary
 void addParameter(IQueryParam theParam)
           
 IQueryParam getParamByDimension(IDimension theDimension)
           
 java.util.Set getParameters()
           
 boolean isEmpty()
           
 

Method Detail

addParameter

public void addParameter(IQueryParam theParam)
Parameters:
theParam - a parameter for a query, which is conjunctive with other parameters. The parameter must be defined along a different IDimension than existing parameters.

getParameters

public java.util.Set getParameters()
Returns:
all the IQueryParams that make up this query

getParamByDimension

public IQueryParam getParamByDimension(IDimension theDimension)
Parameters:
theDimension - The specified dimension.
Returns:
The IQueryParam having the specified dimension, or null if none has it.

isEmpty

public boolean isEmpty()
Returns:
true if this query contains no parameters.


Copyright © 2004-2005 University Health Network. All Rights Reserved.