public class DBQueryTemplate<TEntity extends IEntity> extends Object
| Constructor and Description |
|---|
DBQueryTemplate(String sId,
EntityMetaInfo aMeta)
create new query instance and bind it to the right set of meta information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compile()
compile this query.
|
String |
getId() |
DynamicArrayList<QueryPart> |
getQueryParts() |
boolean |
isCompiled() |
void |
setQueryPart(int nPosition,
EQueryPartBinding eBinding,
EQueryPartOperation eOperation,
String sAttribute)
see IDBQuery.setQueryPart ()
... but it define those part without any value.
|
public DBQueryTemplate(String sId, EntityMetaInfo aMeta)
sId - [IN]
the id for this query.
Used outside for identification and might be caching ...aMeta - [IN]
the set of meta information.public void compile()
throws Exception
Exceptionpublic void setQueryPart(int nPosition,
EQueryPartBinding eBinding,
EQueryPartOperation eOperation,
String sAttribute)
throws Exception
Exceptionpublic DynamicArrayList<QueryPart> getQueryParts() throws Exception
ExceptionCopyright © 2016 as-development.net. All rights reserved.