⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pageform.java

📁 struts+hibernate做的一个程序
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import java.util.*;
/** 
 * MyEclipse Struts
 * Creation date: 08-27-2007
 * 
 * XDoclet definition:
 * @struts.form name="pageForm"
 */
public class PageForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** pagesize property */
	private int pagesize;

	/** pagemaxrow property */
	private int pagemaxrow;

	/** pagedata property */
	private Vector pagedata;

	/** pagemax property */
	private int pagemax;

	/** pagecurrent property */
	private int pagecurrent;

	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	/** 
	 * Returns the pagesize.
	 * @return int
	 */
	public int getPagesize() {
		return pagesize;
	}

	/** 
	 * Set the pagesize.
	 * @param pagesize The pagesize to set
	 */
	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}

	/** 
	 * Returns the pagemaxrow.
	 * @return int
	 */
	public int getPagemaxrow() {
		return pagemaxrow;
	}

	/** 
	 * Set the pagemaxrow.
	 * @param pagemaxrow The pagemaxrow to set
	 */
	public void setPagemaxrow(int pagemaxrow) {
		this.pagemaxrow = pagemaxrow;
	}

	/** 
	 * Returns the pagedata.
	 * @return Vector
	 */
	public Vector getPagedata() {
		return pagedata;
	}

	/** 
	 * Set the pagedata.
	 * @param pagedata The pagedata to set
	 */
	public void setPagedata(Vector pagedata) {
		this.pagedata = pagedata;
	}

	/** 
	 * Returns the pagemax.
	 * @return int
	 */
	public int getPagemax() {
		return pagemax;
	}

	/** 
	 * Set the pagemax.
	 * @param pagemax The pagemax to set
	 */
	public void setPagemax(int pagemax) {
		this.pagemax = pagemax;
	}

	/** 
	 * Returns the pagecurrent.
	 * @return int
	 */
	public int getPagecurrent() {
		return pagecurrent;
	}

	/** 
	 * Set the pagecurrent.
	 * @param pagecurrent The pagecurrent to set
	 */
	public void setPagecurrent(int pagecurrent) {
		this.pagecurrent = pagecurrent;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -