import java.io.*; import java.util.*; import COM.odi.*; import COM.odi.coll.*; import COM.odi.util.OSVector; public class Member { // Attribute Data members String mid; String password; String fname; String lname; String address; String email; double cashBalance; // Relationship Data Members OSVector transactions; // set of transactions for this member // Methods public Member(String m, String p, String f, String l, String a, String e, double c) { mid = m; password = p; fname = f; lname = l; address = a; email = e; cashBalance = c; transactions = new OSVector(); } public void addTransaction(Trans t){ transactions.add(t); } public String getMid() { return mid; }; public String getPassword() { return password; }; public String getFname() { return fname; }; public String getLname() { return lname; }; public String getAddress() { return address; }; public String getEmail() { return email; }; public double getCashBalance() { return cashBalance; }; public int getNumTransactions() { return transactions.size(); }; public OSVector getTransactions(){ return transactions; } }