1 package org.jahia.data.beans; 2 3 11 12 public class PaginationBean { 13 private int pageNumber = 0; 14 private boolean currentPageFlag = false; 15 16 19 public PaginationBean() { 20 } 21 22 public PaginationBean(int aPageNumber, boolean aCurrentPageFlag) { 23 this.pageNumber = aPageNumber; 24 this.currentPageFlag = aCurrentPageFlag; 25 } 26 27 public int getPageNumber() { 28 return pageNumber; 29 } 30 public void setPageNumber(int aPageNumber) { 31 this.pageNumber = aPageNumber; 32 } 33 public boolean isCurrentPage() { 34 return currentPageFlag; 35 } 36 public void setCurrentPage(boolean aCurrentPageFlag) { 37 this.currentPageFlag = aCurrentPageFlag; 38 } 39 } | Popular Tags |