View Javadoc
1 //============================================================================== 2 // file : PageBean.java 3 // project: East Networks News System 4 // 5 // last change: date: $Date: 2003/09/10 09:28:37 $ 6 // by: $Author: bitiboy $ 7 // revision: $Revision: 1.1 $ 8 //------------------------------------------------------------------------------ 9 // copyright: GNU GPL Software License (see class documentation) 10 //============================================================================== 11 package net.eastol.news.jibx.bean; 12 13 14 /* 15 * $Id: PageBean.java,v 1.1 2003/09/10 09:28:37 bitiboy Exp $ 16 * 17 * Copyright 2003 Acai Software All Rights Reserved. 18 * 19 * This file PageBean.java is part of the East Networks News System. 20 21 * The East Networks News System is free software; you can redistribute it and/or modify 22 * it under the terms of the GNU General Public License as published by 23 * the Free Software Foundation; either version 2 of the License, or 24 * (at your option) any later version. 25 26 * East Networks News System is distributed in the hope that it will be useful, 27 * but WITHOUT ANY WARRANTY; without even the implied warranty of 28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29 * GNU General Public License for more details. 30 31 * You should have received a copy of the GNU General Public License 32 * along with the East Networks News System; if not, write to the Free Software 33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 34 35 * http://www.justhis.com http://ejb.cn 36 * CONTACT: email = webmaster@justhis.com superaxis@sohu.com 37 */ 38 /* 39 * TODO 40 * @author <a href="http://blog.ejb.cn">acai</a> 41 * 42 * @version $Revision: 1.1 $ 43 */ 44 public class PageBean { 45 //~ Instance fields -------------------------------------------------------- 46 47 /*** TODO */ 48 public int currentPage = 1; 49 50 /*** TODO */ 51 public int perPageNum = 1; 52 53 /*** TODO */ 54 public int recordSize = 1; 55 56 //~ Constructors ----------------------------------------------------------- 57 58 public PageBean() { 59 super(); 60 } 61 62 //~ Methods ---------------------------------------------------------------- 63 64 /*** 65 * @param i 66 */ 67 public void setCurrentPage(int i) { 68 currentPage = i; 69 } 70 71 /*** 72 * @return TODO 73 */ 74 public int getCurrentPage() { 75 return currentPage; 76 } 77 78 /*** 79 * @param i 80 */ 81 public void setPerPageNum(int i) { 82 perPageNum = i; 83 } 84 85 /*** 86 * @return TODO 87 */ 88 public int getPerPageNum() { 89 return perPageNum; 90 } 91 92 /*** 93 * @param i 94 */ 95 public void setRecordSize(int i) { 96 this.recordSize = i; 97 } 98 99 /*** 100 * @return TODO 101 */ 102 public int getRecordSize() { 103 return recordSize; 104 } 105 } 106 107 108 /* 109 * $Log: PageBean.java,v $ 110 * Revision 1.1 2003/09/10 09:28:37 bitiboy 111 * *** empty log message *** 112 * 113 * 114 */

This page was automatically generated by Maven