?? pagebean.java
字號:
package com.stuman.util;
import java.util.List;
public class PageBean {
private String queryString;
private Object values[];
private int recordsPerPage;
private int currentPage;
private int totalPage;
private long totalRecords;
private boolean needSplitPage;
private List content;
public PageBean(){
recordsPerPage = 20;
currentPage = 1;
totalRecords = -1;
needSplitPage = true;
}
public List getContent() {
return content;
}
public void setContent(List content) {
this.content = content;
}
public int getCurrentPage() {
return currentPage;
}
public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}
public String getQueryString() {
return queryString;
}
public void setQueryString(String queryString) {
this.queryString = queryString;
}
public int getRecordsPerPage() {
return recordsPerPage;
}
public void setRecordsPerPage(int recordsPerPage) {
this.recordsPerPage = recordsPerPage;
}
public int getTotalPage() {
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
public long getTotalRecords() {
return totalRecords;
}
public void setTotalRecords(long totalRecords) {
this.totalRecords = totalRecords;
}
public Object[] getValues() {
return values;
}
public void setValues(Object[] values) {
this.values = values;
}
public boolean isNeedSplitPage() {
return needSplitPage;
}
public void setNeedSplitPage(boolean needSplitPage) {
this.needSplitPage = needSplitPage;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -