| Constructor and Description |
|---|
Query(String name)
TODO documentation
|
Query(String name,
Object params)
TODO documentation
|
Query(String name,
Object params,
int start,
int max)
TODO documentation
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMax()
Get the maximum number of rows from query result.
|
String |
getName()
The query name used to localize the query at in XML file.
|
Object |
getParams()
Parameters of query.
|
int |
getStart()
Get the number from first row from query result.
|
Long |
getTotal()
Get total of rows that query can retrieve, filled after query is
executed.
|
void |
setMax(int value)
Set the maximum number of rows from query result.
|
void |
setStart(int value)
Set the number from first row from query result.
|
void |
setTotal(Long total) |
String |
toString() |
public Query(String name, Object params, int start, int max)
name - params - start - max - public Query(String name)
name - public String getName()
IQuerypublic Object getParams()
IQuerypublic int getStart()
IQuerypublic void setStart(int value)
IQuerypublic int getMax()
IQuerypublic void setMax(int value)
IQuerypublic Long getTotal()
IQuerypublic void setTotal(Long total)
Copyright © 2015 jkniv. All rights reserved.