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

📄 processaccountform.java

📁 我在加拿大学习的一个比较复杂的在线银行程序.
💻 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 + -