Package ome.services.query
Class ClassQuerySource
- java.lang.Object
-
- ome.services.query.QuerySource
-
- ome.services.query.ClassQuerySource
-
public class ClassQuerySource extends QuerySource
creates a query based on the id string by interpreting it as a Class. The class can either be aQueryimplementation or anIObjectimplementation.If it is an
IObjectimplementation, theQueryParameterinstances passed in throughParametersare interpreted as being field names whosevaluesshould equals the value in the database.If it is an
Queryimplementation, then it is instantiated by passing theParametersinto the constructor.- Since:
- OMERO 3.0
- See Also:
IObjectClassQuery
-
-
Constructor Summary
Constructors Constructor Description ClassQuerySource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Querylookup(java.lang.String queryID, ome.parameters.Parameters parameters)map the queryID argument to some Query instance (including null).
-
-
-
Method Detail
-
lookup
public Query lookup(java.lang.String queryID, ome.parameters.Parameters parameters)
Description copied from class:QuerySourcemap the queryID argument to some Query instance (including null). This mapping can be dependent on the providedParameters- Specified by:
lookupin classQuerySource- Parameters:
queryID- abstract identifier for the sought query.parameters- named parameters for lookup and actual bindings.- Returns:
- A possible null Query for later execution.
-
-