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

com.commercetools.sunrise.common.pagination.PaginationBean Maven / Gradle / Ivy

There is a newer version: 1.0.0-M10
Show newest version
package com.commercetools.sunrise.common.pagination;

import com.commercetools.sunrise.common.models.LinkBean;
import com.commercetools.sunrise.common.models.ViewModel;

import java.util.List;

public class PaginationBean extends ViewModel {

    private String previousUrl;
    private String nextUrl;
    private LinkBean firstPage;
    private LinkBean lastPage;
    private List pages;

    public PaginationBean() {
    }

    public List getPages() {
        return pages;
    }

    public void setPages(final List pages) {
        this.pages = pages;
    }

    public LinkBean getFirstPage() {
        return firstPage;
    }

    public void setFirstPage(final LinkBean firstPage) {
        this.firstPage = firstPage;
    }

    public LinkBean getLastPage() {
        return lastPage;
    }

    public void setLastPage(final LinkBean lastPage) {
        this.lastPage = lastPage;
    }

    public String getPreviousUrl() {
        return previousUrl;
    }

    public void setPreviousUrl(final String previousUrl) {
        this.previousUrl = previousUrl;
    }

    public String getNextUrl() {
        return nextUrl;
    }

    public void setNextUrl(final String nextUrl) {
        this.nextUrl = nextUrl;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy