
Data - the type of data for this list load resultpublic class PagingLoadResultBean<Data> extends ListLoadResultBean<Data> implements PagingLoadResult<Data>
ListLoadResultBean that adds support for paging properties as
described by PagingLoadResult.list| Constructor and Description |
|---|
PagingLoadResultBean()
Creates an empty paging load result bean.
|
PagingLoadResultBean(List<Data> list,
int totalLength,
int offset)
Creates a new paging list load result.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOffset()
Returns the current offset of the results.
|
int |
getTotalLength()
Returns the total count.
|
void |
setOffset(int offset)
Sets the offset.
|
void |
setTotalLength(int totalLength)
Sets the total length.
|
getData, setDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatapublic PagingLoadResultBean()
public int getOffset()
PagingLoadResultgetOffset in interface PagingLoadResult<Data>public int getTotalLength()
PagingLoadResultgetTotalLength in interface PagingLoadResult<Data>public void setOffset(int offset)
PagingLoadResultsetOffset in interface PagingLoadResult<Data>offset - the offsetpublic void setTotalLength(int totalLength)
PagingLoadResultsetTotalLength in interface PagingLoadResult<Data>totalLength - the total lengthCopyright © 2018. All rights reserved.