|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.query.QuerySource
ome.services.query.ClassQuerySource
public class ClassQuerySource
creates a query based on the id string by interpreting it as a Class. The
class can either be a 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 Summary | |
---|---|
ClassQuerySource()
|
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 |
Constructor Detail |
---|
public ClassQuerySource()
Method Detail |
---|
public Query lookup(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.