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

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

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

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