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

📄 tradeactionform.java

📁 基于Struts的电子银行系统
💻 JAVA
字号:
/*
 * 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 TradeActionForm extends ActionForm {
	private String action = null;
	private String accountID = null;
	private Double money = new Double(0);
	private String tradePass = null;
	private String transferAccountID = null;
	
	public TradeActionForm(){}
	
	/**
	 * @param action
	 * @param accountID
	 * @param money
	 * @param tradePass
	 * @param tranferAccountID
	 */
	public TradeActionForm(String action, String accountID,
			Double money, String tradePass, String transferAccountID) {
		super();
		this.action = action;
		this.accountID = accountID;
		this.money = money;
		this.tradePass = tradePass;
		this.transferAccountID = transferAccountID;
	}
	/**
	 * @return Returns the accountID.
	 */
	public String getAccountID() {
		return accountID;
	}
	/**
	 * @param accountID The accountID to set.
	 */
	public void setAccountID(String accountID) {
		this.accountID = accountID;
	}
	/**
	 * @return Returns the action.
	 */
	public String getAction() {
		return action;
	}
	/**
	 * @param action The action to set.
	 */
	public void setAction(String action) {
		this.action = action;
	}
	/**
	 * @return Returns the money.
	 */
	public Double getMoney() {
		return money;
	}
	/**
	 * @param money The money to set.
	 */
	public void setMoney(Double money) {
		this.money = money;
	}
	/**
	 * @return Returns the tradePass.
	 */
	public String getTradePass() {
		return tradePass;
	}
	/**
	 * @param tradePass The tradePass to set.
	 */
	public void setTradePass(String tradePass) {
		this.tradePass = tradePass;
	}
	/**
	 * @return Returns the tranferAccountID.
	 */
	public String getTransferAccountID() {
		return transferAccountID;
	}
	/**
	 * @param tranferAccountID The tranferAccountID to set.
	 */
	public void setTransferAccountID(String transferAccountID) {
		this.transferAccountID = transferAccountID;
	}
	/**
	 * @param actionMapping 该项目的映射对象.
	 * @param request HTTP请求对象.
	 */
	public void reset(ActionMapping actionMapping, HttpServletRequest request) {
		super.reset(actionMapping, request);
		this.money = new Double(0);
		this.tradePass = null;
		this.transferAccountID = null;
	}
}

⌨️ 快捷键说明

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