import java.io.*; import java.util.*; import COM.odi.*; import COM.odi.coll.*; import COM.odi.util.OSVector; public class Trans { // Attribute Data members String transDate; String transType; float quantity; float pricePerShare; float commission; // Relationship Data Members Member member; // member for this transaction Security security; // security for this transaction // Methods public Trans(String td, String tt, float q, float pps, float c, Member m, Security s) { transDate = td; transType = tt; quantity = q; pricePerShare = pps; commission = c; member = m; security = s; } public Member getMember() { return member; }; public Security getSecurity() { return security; }; public String getTransDate() { return transDate; }; public String getTransType() { return transType; }; public float getQuantity() { return quantity; }; public float getPricePerShare() { return pricePerShare; }; public float getCommission() { return commission; }; }