|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.external.v1_0.query.LimitOffset
public class LimitOffset
Bean for specifying paging and sorting constraints for a query.
Constructor Summary | |
---|---|
LimitOffset()
Empty constructor, for serialization. |
|
LimitOffset(int limit,
int offset)
Constructor. |
Method Summary | |
---|---|
int |
getLimit()
|
int |
getOffset()
|
void |
setLimit(int limit)
|
void |
setOffset(int offset)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LimitOffset(int limit, int offset)
limit
- the maximum number of results to return. A negative number indicates no limit.offset
- the index (0-based) of the first result to return.public LimitOffset()
Method Detail |
---|
public int getLimit()
public void setLimit(int limit)
limit
- the maximum number of results to return. A negative number indicates no limit.public int getOffset()
public void setOffset(int offset)
offset
- the index (0-based) of the first result to return.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |