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

📄 clientcardform.java

📁 我在加拿大学习的一个比较复杂的在线银行程序.
💻 JAVA
字号:
package com.ebusiness.ebank.form;/** * <p>Title: Baseform </p> * <p>Description: base form bean for all form beans </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: eBusiness Inc., All right reserved</p> * @author unascribed * @version 1.0 */import java.util.Locale;//import javax.servlet.http.HttpServletRequest;//import org.apache.struts.action.ActionErrors;//import org.apache.struts.action.ActionMapping;//import org.apache.struts.Globals;import com.ebusiness.ebank.bean.ClientCardValue;import com.ebusiness.ebank.util.FieldHelper;public class ClientCardForm extends BaseForm{    private String clientCardID;    private String password;    private String webPassword;    private String issueNo;    private long cardholderOID;   //Used by change password function    private boolean changeWebPassword = false;    private boolean changePassword = false;    private String inputPassword;    private String newPassword;    private String confirmPassword;    public String getClientCardID()    {        return this.clientCardID;    }    public void setClientCardID(String clientCardID)    {        this.clientCardID = clientCardID;    }    public String getPassword()    {        return this.password;    }    public void setPassword(String password)    {        this.password = password;    }    public String getWebPassword()    {        return this.webPassword;    }    public void setWebPassword(String webPassword)    {        this.webPassword = webPassword;    }    public String getIssueNo()    {        return this.issueNo;    }    public void setIssueNo(String issueNo)    {        this.issueNo = issueNo;    }    public long getCardholderOID()    {        return this.cardholderOID;    }    public void setCardholderOID(long cardholderOID)    {        this.cardholderOID = cardholderOID;    }    public String getNewPassword()    {        return this.newPassword;    }    public void setNewPassword(String password)    {        this.newPassword = password;    }    public String getConfirmPassword()    {       return this.confirmPassword;    }    public void setConfirmPassword(String password)    {        this.confirmPassword = password;    }    public String getInputPassword()    {        return this.inputPassword;    }    public void setInputPassword(String password)    {        this.inputPassword = password;    }    public boolean isChangeWebPW()    {       return this.isChangeWebPW();    }    public void setChangeWebPW(boolean changeWebPW)    {        this.changeWebPassword = changeWebPW;    }    public void setChangePW(boolean changePW)    {        this.changePassword = changePW;    }    public static ClientCardForm mappingFromModel(ClientCardValue value, Locale locale)    {        ClientCardForm form = new ClientCardForm();        mappingFromModel(value, form, locale);        form.setClientCardID(value.getClientCardID());        form.setPassword(value.getPassword());        form.setWebPassword(value.getWebPassword());        form.setIssueNo(value.getIssueNo());        form.setCardholderOID(value.getCardholderOID());        return form;    }    public ClientCardValue mappingToModel(Locale locale)    {        ClientCardValue value = new ClientCardValue();        super.mappingToModel(value, locale);        value.setClientCardID(this.getClientCardID());        value.setPassword(this.getPassword());        value.setWebPassword(this.getWebPassword());        value.setIssueNo(this.getIssueNo());        value.setCardholderOID(this.getCardholderOID());        return value;    }    public void clear()    {        super.clear();        clientCardID      = "";        password          = "";        webPassword       = "";        issueNo           = "";        cardholderOID     = 0;        changeWebPassword = false;        changePassword    = false;        inputPassword     = "";        newPassword       = "";        confirmPassword   = "";    }}

⌨️ 快捷键说明

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