All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.ouestfrance.querydsl.postgrest.model.PageImpl Maven / Gradle / Ivy

The newest version!
package fr.ouestfrance.querydsl.postgrest.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * Concrete implementation of a page
 *
 * @param  type of the page
 */
@Getter
@AllArgsConstructor
public class PageImpl implements Page {
    /**
     * Elements
     */
    private final List data;
    /**
     * Request information
     */
    private Pageable pageable;
    /**
     * Total elements
     */
    private long totalElements;
    /**
     * Total pages
     */
    private int totalPages;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy