public class QueryBean<T> extends Object implements LimitQuery<T>
QueryBean class.
| Constructor and Description |
|---|
QueryBean() |
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
getCountQuery()
Returns count query
Query. |
String |
getCountStatement()
Getter for the field
countStatement. |
Lang |
getLang()
Getter for the field
lang. |
PageLimit |
getLimit()
Getter for the field
limit. |
Map<String,Object> |
getParams()
Getter for the field
params. |
String |
getStatement()
Returns statement.
|
boolean |
isCacheable()
isCacheable.
|
LimitQuery<T> |
limit(PageLimit limit)
limit.
|
void |
setCacheable(boolean cacheable)
Setter for the field
cacheable. |
void |
setCountStatement(String countStatement)
Setter for the field
countStatement. |
void |
setLang(Lang lang)
Setter for the field
lang. |
void |
setLimit(PageLimit limit)
Setter for the field
limit. |
void |
setParams(Map<String,Object> params)
Setter for the field
params. |
void |
setStatement(String statement)
Setter for the field
statement. |
public Query<T> getCountQuery()
Query.getCountQuery in interface LimitQuery<T>Query object.public String getStatement()
getStatement in interface Query<T>public String getCountStatement()
Getter for the field countStatement.
String object.public PageLimit getLimit()
Getter for the field limit.
getLimit in interface LimitQuery<T>PageLimit object.public void setStatement(String statement)
Setter for the field statement.
statement - a String object.public void setCountStatement(String countStatement)
Setter for the field countStatement.
countStatement - a String object.public void setLimit(PageLimit limit)
Setter for the field limit.
limit - a PageLimit object.public LimitQuery<T> limit(PageLimit limit)
limit.
limit in interface LimitQuery<T>limit - a PageLimit object.LimitQuery object.public void setCacheable(boolean cacheable)
Setter for the field cacheable.
cacheable - a boolean.public void setParams(Map<String,Object> params)
Setter for the field params.
params - a Map object.public boolean isCacheable()
isCacheable.
isCacheable in interface Query<T>public Lang getLang()
Getter for the field lang.
Copyright © 2005–2018 The Beangle Software. All rights reserved.