@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 DTOPagingInterface
DTOPagingInterface.getStartIndex()
setStartIndex
in interface DTOPagingInterface
DTOPagingInterface.setStartIndex(int)
getCount
in interface DTOPagingInterface
DTOPagingInterface.getCount()
setCount
in interface DTOPagingInterface
DTOPagingInterface.setCount(int)