[New] Added Paging.dataSetSize field

This commit is contained in:
Robert von Burg 2019-01-14 14:32:32 +01:00
parent e1a1a7410e
commit b297483280
1 changed files with 18 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class Paging<T> {
private int limit;
private int offset;
private int size;
private int dataSetSize;
private List<T> input;
private List<T> page;
@ -85,6 +86,23 @@ public class Paging<T> {
return this.size;
}
/**
* @return the size of all the data unfiltered
*/
public int getDataSetSize() {
return this.dataSetSize;
}
/**
* Set the size of all the data unfiltered
*
* @param dataSetSize
* the size of all the data unfiltered
*/
public void setDataSetSize(int dataSetSize) {
this.dataSetSize = dataSetSize;
}
/**
* @return the input
*/