clientform.java

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

JAVA
121
字号
package com.fund.client;

import org.apache.struts.validator.ValidatorActionForm;

import java.util.List;
import java.util.ArrayList;

/**
 *
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class ClientForm extends ValidatorActionForm {

    /**
     *serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    /**
     * constructor
     */
    public ClientForm() {
        this.clientDto.setSex("男");
    }

    /**
     * asset
     */
    private Double asset;

    /**
     * fundList
     */
    private List fundList = new ArrayList();
    /**
     * clientDto
     */
    private ClientDto clientDto = new ClientDto();
    /**
     * FinancialAccountDto
     */
    private FinancialAccountDto financialAccountDto = new FinancialAccountDto();


    /**
     *
     * @param asset Double
     */
    public void setAsset(Double asset) {
        this.asset = asset;
    }

    /**
     *
     * @return Double
     */
    public Double getAsset() {
        return this.asset;
    }

    /**
     *
     * @param fundList List
     */
    public void setFundList(List fundList) {
        this.fundList = fundList;
    }

    /**
     *
     * @return List
     */
    public List getFundList() {
        return this.fundList;
    }

    /**
     *
     * @param clientDto ClientDto
     */
    public void setClientDto(ClientDto clientDto) {
        this.clientDto = clientDto;
    }

    /**
     *
     * @return ClientDto
     */
    public ClientDto getClientDto() {
        return this.clientDto;
    }

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

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


}

⌨️ 快捷键说明

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