public class ClassQuerySource extends QuerySource
Query
implementation or an
IObject
implementation.
If it is an IObject
implementation, the
QueryParameter
instances passed in through
Parameters
are interpreted as being field names whose
values
should equals the value in
the database.
If it is an Query
implementation, then it is
instantiated by passing the Parameters
into the
constructor.
IObjectClassQuery
Constructor and Description |
---|
ClassQuerySource() |
Modifier and Type | Method and Description |
---|---|
Query |
lookup(java.lang.String queryID,
ome.parameters.Parameters parameters)
map the queryID argument to some Query instance (including null).
|
public Query lookup(java.lang.String queryID, ome.parameters.Parameters parameters)
QuerySource
Parameters
lookup
in class QuerySource
queryID
- abstract identifier for the sought query.parameters
- named parameters for lookup and actual bindings.