fundaccountform.java

来自「EJB+Struts+Webservice实现的开放式基金管理系统」· Java 代码 · 共 122 行

JAVA
122
字号
package com.fund.client;



import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorActionForm;
import com.fund.fund.FundDto;

/**
 *
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class FundAccountForm extends ValidatorActionForm {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    /**
     * fundAccountDto
     */
    private FundAccountDto fundAccountDto = new FundAccountDto();
    /**
     * fundDto
     */
    private FundDto fundDto = new FundDto();
    /**
     * financialAccountDto
     */
    private FinancialAccountDto financialAccountDto = new FinancialAccountDto();
    /**
     * password
     */
    private String password = "";

    /**
     * getFundAccountDto
     * @return FundAccountDto
     */
    public FundAccountDto getFundAccountDto() {
        return fundAccountDto;
    }

    /**
     * setFundAccountDto
     * @param fundAccountDto FundAccountDto
     */
    public void setFundAccountDto(FundAccountDto fundAccountDto) {
        this.fundAccountDto = fundAccountDto;
    }

    /**
     * setPassword
     * @param password String
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     *
     * @param financialAccountDto FinancialAccountDto
     */
    public void setFinancialAccountDto(FinancialAccountDto financialAccountDto)
    {
        this.financialAccountDto = financialAccountDto;
    }

    /**
     *
     * @param fundDto FundDto
     */
    public void setFundDto(FundDto fundDto) {
        this.fundDto = fundDto;
    }

    /**
     *
     * @return String
     */
    public String getPassword() {
        return password;
    }

    /**
     *
     * @return FundDto
     */
    public FundDto getFundDto() {
        return fundDto;
    }

    /**
     *
     * @return FinancialAccountDto
     */
    public FinancialAccountDto getFinancialAccountDto() {
        return financialAccountDto;
    }

    /**
     *
     * @param mapping ActionMapping
     * @param request HttpServletRequest
     */
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        fundAccountDto = new FundAccountDto();
        fundDto = new FundDto();
        financialAccountDto = new FinancialAccountDto();
        password = "";
    }
}

⌨️ 快捷键说明

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