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

📄 register1form.java

📁 基于WEB的会议管理系统
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.meet.struts.form;

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

/** 
 * MyEclipse Struts
 * Creation date: 06-11-2008
 * 
 * XDoclet definition:
 * @struts.form name="register1Form"
 */
public class Register1Form extends ActionForm {
	/*
	 * Generated fields
	 */

	/** gender property */
	private String gender;
	private String ID;
    public String  n="";
	/** key1 property */
	private String key1;

	/** key property */
	private String key;

	/** part property */
	private String part;

	/** zhiwu property */
	private String zhiwu;

	/** username property */
	private String username;

	/** tel property */
	private String tel;

	/** gender1 property */


	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		ActionErrors error=new ActionErrors();
		if(ID==null||ID.length()==0)
		{error.add("ID",new ActionError("com.meet.register"));}
		else if(username==null||username.length()==0)
		{error.add("username",new ActionError("com.meet.register"));}
		else if(key==null||key.length()==0)
		{error.add("key",new ActionError("com.meet.register"));}
		else if(key1==null||key1.length()==0)
		{error.add("key1",new ActionError("com.meet.register"));}
		else 
		{
			if(!key.equals(key1))
			{error.add("key1",new ActionError("com.meet.register1"));}
		}
		
		return error;
	}

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

	/** 
	 * Returns the gender.
	 * @return String
	 */


	/** 
	 * Returns the key1.
	 * @return String
	 */
	public String getKey1() {
		return key1;
	}

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

	/** 
	 * Returns the key.
	 * @return String
	 */
	public String getKey() {
		return key;
	}

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

	/** 
	 * Returns the part.
	 * @return String
	 */
	public String getPart() {
		return part;
	}

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

	/** 
	 * Returns the zhiwu.
	 * @return String
	 */
	public String getZhiwu() {
		return zhiwu;
	}

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

	/** 
	 * Returns the username.
	 * @return String
	 */
	public String getUsername() {
		return username;
	}

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

	/** 
	 * Returns the tel.
	 * @return String
	 */
	public String getTel() {
		return tel;
	}

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

	

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getID() {
		return ID;
	}

	public void setID(String id) {
		ID = id;
	}

	/** 
	 * Returns the gender1.
	 * @return String
	 */

}

⌨️ 快捷键说明

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