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

com.web.spring.datatable.DataSet Maven / Gradle / Ivy

There is a newer version: 3.2
Show newest version
package com.web.spring.datatable;

import java.util.List;

/**
 * Wrapping bean that must be sent back to Datatables when server-side
 * processing is enabled.
 */
public final class DataSet {

    private final List rows;
    private final Long totalDisplayRecords;
    private final Long totalRecords;

    public DataSet(List rows, Long totalRecords, Long totalDisplayRecords) {
        this.rows = rows;
        this.totalRecords = totalRecords;
        this.totalDisplayRecords = totalDisplayRecords;
    }

    public List getRows() {
        return rows;
    }

    public Long getTotalDisplayRecords() {
        return totalDisplayRecords;
    }

    public Long getTotalRecords() {
        return totalRecords;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy