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

📄 chequingaccountform.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 com.ebusiness.ebank.bean.AccountValue;import com.ebusiness.ebank.bean.ChequingAccountValue;import java.util.Locale;public class ChequingAccountForm extends AccountForm{     private String minimumBalance;     private String freeServiceLimit;     private String fixedServiceFee;     public String getFreeServiceLimit()    {       return this.freeServiceLimit;    }    public void setFreeServiceLimit(String limit)    {        this.freeServiceLimit = limit;    }    public String getMinimumBalance()    {       return this.minimumBalance;    }   public void setMinimumBalance(String balance)   {       this.minimumBalance = balance;   }   public String getFixedServiceFee()   {      return this.fixedServiceFee;   }   public void setFixedServiceFee(String fee)   {      this.fixedServiceFee = fee;   }   public void mappingFromModel(AccountValue aValue, Locale locale)   {       ChequingAccountValue value = (ChequingAccountValue)aValue;       mappingFromModel(value, this,locale);       this.setAccountNo(value.getAccountNo());       this.setAccountType(value.getAccountType());       this.setClientCardID(value.getClientCardID());       this.setAnnualFee(String.valueOf(value.getAnnualFee()));       this.setBalance(String.valueOf(value.getBalance()));       this.setInterestRate(String.valueOf(value.getInterestRate()));       this.setStatus(value.getStatus());       this.setMinimumBalance(String.valueOf(value.getMinimumBalance()));       this.setFreeServiceLimit(String.valueOf(value.getFreeServiceLimit()));       this.setFixedServiceFee(String.valueOf(value.getFixedServiceFee()));  }   public AccountValue mappingToModel(Locale locale)   {       ChequingAccountValue value = new ChequingAccountValue();       super.mappingToModel(value, locale);       value.setAccountNo(this.getAccountNo());       value.setAccountType(this.getAccountType());       value.setClientCardID(this.getClientCardID());       value.setAnnualFee(Integer.parseInt(this.getAnnualFee()));       value.setBalance(Double.parseDouble(this.getBalance()));       value.setInterestRate(Double.parseDouble(this.getInterestRate()));       value.setStatus(this.getStatus());       value.setMinimumBalance(Integer.parseInt(this.getMinimumBalance()));       value.setFreeServiceLimit(Integer.parseInt(this.getFreeServiceLimit()));       value.setFixedServiceFee(Integer.parseInt(this.getFixedServiceFee()));       return value;   }   public void clear()   {       super.clear();       minimumBalance     = "";       freeServiceLimit   = "";       fixedServiceFee    = "";   }}

⌨️ 快捷键说明

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