loginform.java

来自「这是一个学校老师和学生的管理系统,程序比较简单,但是几乎所有功能都可以实现,如果」· Java 代码 · 共 99 行

JAVA
99
字号
/**
 *******************************************************************************
 * LoginForm.java
 *
 * (c) Copyright 2008 Hewlett-Packard Development Company, L.P.
 *
 *<Program Content>
 *  System Name : Students Management System
 *<Summarize>
 *  The file includes a class and the class main function is to receive the data
 *  from the login page.
 *<Update Record>
 *  2009-4-27    1.00    zhangliy
 *******************************************************************************
 */
package com.hp.eds.zhangliyuan.stuMan.form;

import org.apache.struts.validator.ValidatorForm;

/**
 * The class main function is to receive the data from the login page.
 * 
 * @author zhangliy
 * @version 1.0
 */
public class LoginForm extends ValidatorForm {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 8096763142753146496L;

	// user's type
	private String userType;

	// user's ID
	private String userID;

	// user's password
	private String password;

	/**
	 * password of get
	 * 
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * password of set
	 * 
	 * @param password
	 *            set {bare_field_name}
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * userID of get
	 * 
	 * @return userID
	 */
	public String getUserID() {
		return userID;
	}

	/**
	 * userID of set
	 * 
	 * @param userID
	 *            set {bare_field_name}
	 */
	public void setUserID(String userID) {
		this.userID = userID;
	}

	/**
	 * userType of get
	 * 
	 * @return userType
	 */
	public String getUserType() {
		return userType;
	}

	/**
	 * userType of set
	 * 
	 * @param userType
	 *            set {bare_field_name}
	 */
	public void setUserType(String userType) {
		this.userType = userType;
	}

}

⌨️ 快捷键说明

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