示例#1
0
        public Dividend setDate(SimpleDate date)
        {
            Dividend dividend = new Dividend(this.getStock(), this.getAmount(), date);

            dividend.setComment(this.comment);
            return(dividend);
        }
示例#2
0
        public Dividend setAmount(double amount)
        {
            Dividend dividend = new Dividend(this.getStock(), amount, this.getDate());

            dividend.setComment(this.comment);
            return(dividend);
        }
示例#3
0
        public Dividend setStock(Stock stock)
        {
            Dividend dividend = new Dividend(stock, this.getAmount(), this.getDate());

            dividend.setComment(this.comment);
            return(dividend);
        }
示例#4
0
 public Dividend setStock(Stock stock)
 {
     Dividend dividend = new Dividend(stock, this.getAmount(), this.getDate());
     dividend.setComment(this.comment);
     return dividend;
 }
示例#5
0
 public Dividend setDate(SimpleDate date)
 {
     Dividend dividend = new Dividend(this.getStock(), this.getAmount(), date);
     dividend.setComment(this.comment);
     return dividend;
 }
示例#6
0
 public Dividend setAmount(double amount)
 {
     Dividend dividend = new Dividend(this.getStock(), amount, this.getDate());
     dividend.setComment(this.comment);
     return dividend;
 }