adminfreezedactionform.java

来自「基于B/S模式的网上一行系统」· Java 代码 · 共 64 行

JAVA
64
字号
/*
 * Created on 2005-7-24
 *
 */
package banksystem.VO;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * @author 曲本盛
 *
 * TODO Struts 项目实践
 */
public class AdminFreezedActionForm extends ActionForm {
	private String action = null;
	private String accountID = null;

	public AdminFreezedActionForm(){}
	/**
	 * @param action 存储操作类型.
	 * @param accountID 存储帐号ID.
	 */
	public AdminFreezedActionForm(String action, String accountID) {
		super();
		this.action = action;
		this.accountID = accountID;
	}
	/**
	 * @return accountID 返回帐户ID的值.
	 */
	public String getAccountID() {
		return accountID;
	}
	/**
	 * @param accountID 设置帐户ID.
	 */
	public void setAccountID(String accountID) {
		this.accountID = accountID;
	}
	/**
	 * @return action 返回操作类型的值.
	 */
	public String getAction() {
		return action;
	}
	/**
	 * @param action 设置操作类型的值.
	 */
	public void setAction(String action) {
		this.action = action;
	}
	/**
	 * @param actionMapping 该项目的映射对象.
	 * @param request HTTP请求对象.
	 */
	public void reset(ActionMapping actionMapping, HttpServletRequest request) {
		super.reset(actionMapping, request);
		this.accountID=null;
	}
}

⌨️ 快捷键说明

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