|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
setRange(long first,
long last)
The application may want to skip some number of results that may have been previously returned, and additionally may want to limit the number of instances returned from a query. |
void |
setResult(java.lang.String result)
The application wmight want to get results from a query that are not instance of the candidate class. |
void |
setResultClass(java.lang.Class resultClass)
The application may have a user-defined class that best represents the results of a query. |
void |
setUnique(boolean unique)
If the application knows that there can be exactly zero or one instance returned from a query, the result of the query is most conveniently returned as an instance (possibily null) instead of a Collection. |
Method Detail |
public void setRange(long first, long last)
first
- last
- public void setUnique(boolean unique)
unique
- public void setResult(java.lang.String result)
result
- public void setResultClass(java.lang.Class resultClass)
resultClass
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |