📄 processaccountform.java
字号:
package com.ebusiness.ebank.form;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */import org.apache.struts.validator.ValidatorActionForm;public class ProcessAccountForm extends ValidatorActionForm{ private String amount; private String from; private String to; private String action; public String getAmount() { return this.amount; } public void setAmount(String amount) { this.amount = amount; } public String getFrom() { return this.from; } public void setFrom(String from) { this.from = from; } public String getTo() { return this.to; } public void setTo(String to) { this.to = to; } public String getAction() { return this.action; } public void setAction(String action) { this.action = action; } public String getFromAccountNo() { return this.from.substring(from.indexOf("-") + 1).trim(); } public String getToAccountNo() { return this.to.substring(to.indexOf("-") + 1).trim(); } public String toString() { return "From: " + this.from + " To: " + this.to + " Amount: " + this.amount + " Action: " + this.action; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -