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

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

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

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