admininfo.java

来自「留言簿架构 oracle 9i + jsp + struts 留言」· Java 代码 · 共 143 行

JAVA
143
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.guestbook.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * MyEclipse Struts
 * Creation date: 09-21-2007
 * 
 * XDoclet definition:
 * @struts.form name="AdminInfo"
 */
public class AdminInfo extends ActionForm {
	/*
	 * Generated fields
	 */

	/** pass2 property */
	private String pass2;

	/** pass1 property */
	private String pass1;

	/** pass property */
	private String pass;

	/** name property */
	private String name;

	/** id property */
	private int id;

	/*
	 * 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 pass2.
	 * @return String
	 */
	public String getPass2() {
		return pass2;
	}

	/** 
	 * Set the pass2.
	 * @param pass2 The pass2 to set
	 */
	public void setPass2(String pass2) {
		this.pass2 = pass2;
	}

	/** 
	 * Returns the pass1.
	 * @return String
	 */
	public String getPass1() {
		return pass1;
	}

	/** 
	 * Set the pass1.
	 * @param pass1 The pass1 to set
	 */
	public void setPass1(String pass1) {
		this.pass1 = pass1;
	}

	/** 
	 * Returns the pass.
	 * @return String
	 */
	public String getPass() {
		return pass;
	}

	/** 
	 * Set the pass.
	 * @param pass The pass to set
	 */
	public void setPass(String pass) {
		this.pass = pass;
	}

	/** 
	 * Returns the name.
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/** 
	 * Set the name.
	 * @param name The name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * Returns the id.
	 * @return int
	 */
	public int getId() {
		return id;
	}

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

⌨️ 快捷键说明

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