public class PagingLoadConfigBean extends ListLoadConfigBean implements PagingLoadConfig
Modifier and Type | Field and Description |
---|---|
protected int |
limit |
protected int |
offset |
sortInfo
Constructor and Description |
---|
PagingLoadConfigBean()
Creates a new paging load config.
|
PagingLoadConfigBean(int offset,
int limit)
Creates a new paging load config.
|
Modifier and Type | Method and Description |
---|---|
int |
getLimit()
The number of records being requested.
|
int |
getOffset()
The offset for the first record to retrieve.
|
void |
setLimit(int limit)
Sets the limit.
|
void |
setOffset(int offset)
Sets the offset.
|
getSortInfo, setSortInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSortInfo, setSortInfo
public PagingLoadConfigBean()
public PagingLoadConfigBean(int offset, int limit)
offset
- the offsetlimit
- the limitpublic int getLimit()
PagingLoadConfig
getLimit
in interface PagingLoadConfig
public int getOffset()
PagingLoadConfig
getOffset
in interface PagingLoadConfig
public void setLimit(int limit)
PagingLoadConfig
setLimit
in interface PagingLoadConfig
limit
- the limitpublic void setOffset(int offset)
PagingLoadConfig
setOffset
in interface PagingLoadConfig
offset
- the offsetCopyright © 2020. All rights reserved.