1 package test.ejb.jdo; 2 3 import java.util.Date ; 4 import java.util.Vector ; 5 6 15 public class Transaction 16 { 17 20 private int reference; 21 22 25 private double amount; 26 27 30 private int fromAccountId; 31 32 35 private int toAccountId; 36 37 40 private Date date; 41 42 45 private Vector staff; 46 47 53 public int getReference() 54 { 55 return reference; 56 } 57 58 60 public void setReference(int reference) 61 { 62 this.reference = reference; 63 } 64 65 71 public double getAmount() 72 { 73 return amount; 74 } 75 76 78 public void setAmount(double amount) 79 { 80 this.amount = amount; 81 } 82 83 89 public int getFromAccountId() 90 { 91 return fromAccountId; 92 } 93 94 96 public void setFromAccountId(int fromAccountId) 97 { 98 this.fromAccountId = fromAccountId; 99 } 100 101 107 public int getToAccountId() 108 { 109 return toAccountId; 110 } 111 112 114 public void setToAccountId(int toAccountId) 115 { 116 this.toAccountId = toAccountId; 117 } 118 119 125 public Date getDate() 126 { 127 return date; 128 } 129 130 132 public void setDate(Date date) 133 { 134 this.date = date; 135 } 136 137 140 public Vector getStaff() 141 { 142 return staff; 143 } 144 145 public void setStaff(Vector staff) 146 { 147 this.staff = staff; 148 } 149 } 150 | Popular Tags |