net.leanix.dropkit.persistence.PageResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leanix-dropkit-persistence Show documentation
Show all versions of leanix-dropkit-persistence Show documentation
Base functionality for persistence in leanIX dropwizard-based services
package net.leanix.dropkit.persistence;
import java.util.List;
/**
* A paged result.
*
* @param
*/
public class PageResult {
private List data;
private Long total;
private AbstractPageRequest pageRequest;
public void setData(List data) {
this.data = data;
}
public List getData() {
return this.data;
}
public void setTotal(Long total) {
this.total = total;
}
public Long getTotal() {
return this.total;
}
public void setPageRequest(AbstractPageRequest pageRequest) {
this.pageRequest = pageRequest;
}
public AbstractPageRequest getPageRequest() {
return this.pageRequest;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy