@DTO public abstract class DTOPagingAbstract extends java.lang.Object implements DTOPagingInterface
| Modifier and Type | Field and Description |
|---|---|
private int |
count
Count, default = 0 (means the number of returned items is not limited, i.e. should be determined by the system).
|
private int |
startIndex
Start index, default = 0.
|
| Constructor and Description |
|---|
DTOPagingAbstract() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Retrieves the number of items to be returned in a page.
|
int |
getStartIndex()
Retrieves the index of the first item of the page.
|
void |
setCount(int count)
Sets the number of items to be returned in a page.
|
void |
setStartIndex(int startIndex)
Sets the index of the first item of the page.
|
getStartIndex in interface DTOPagingInterfaceDTOPagingInterface.getStartIndex()setStartIndex in interface DTOPagingInterfaceDTOPagingInterface.setStartIndex(int)getCount in interface DTOPagingInterfaceDTOPagingInterface.getCount()setCount in interface DTOPagingInterfaceDTOPagingInterface.setCount(int)