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

com.taobao.diamond.domain.Page Maven / Gradle / Ivy

There is a newer version: 3.2.4
Show newest version
package com.taobao.diamond.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class Page implements Serializable {
    static final long serialVersionUID = -1L;

    private int totalCount; // 
    private int pageNumber; // 
    private int pagesAvailable; // 
    private List pageItems = new ArrayList(); // 


    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }


    public void setPagesAvailable(int pagesAvailable) {
        this.pagesAvailable = pagesAvailable;
    }


    public void setPageItems(List pageItems) {
        this.pageItems = pageItems;
    }


    public int getTotalCount() {
        return totalCount;
    }


    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }


    public int getPageNumber() {
        return pageNumber;
    }


    public int getPagesAvailable() {
        return pagesAvailable;
    }


    public List getPageItems() {
        return pageItems;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy