ome.services.query
Class NullQuerySource
java.lang.Object
ome.services.query.QuerySource
ome.services.query.NullQuerySource
public class NullQuerySource
- extends QuerySource
always returns null for any id. Useful for testing.
- Since:
- OMERO 3.0
- Version:
- 1.0 (Internal version: $Rev: 1167 $ $Date: 2006-12-15 10:39:34 +0000 (Fri, 15 Dec 2006) $)
- Author:
- Josh Moore, josh.moore@gmx.de
Method Summary |
Query |
lookup(String queryID,
ome.parameters.Parameters parameters)
map the queryID argument to some Query instance (including null). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullQuerySource
public NullQuerySource()
lookup
public Query lookup(String queryID,
ome.parameters.Parameters parameters)
- Description copied from class:
QuerySource
- map the queryID argument to some Query instance (including null). This
mapping can be dependent on the provided
Parameters
- Specified by:
lookup
in class QuerySource
- Parameters:
queryID
- abstract identifier for the sought query.parameters
- named parameters for lookup and actual bindings.
- Returns:
- A possible null Query for later execution.
OmeroJava Api
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.