package cse308.swift.shared.beans; import java.sql.Timestamp; public class LimitOrder { /** * The ClientID for this LimitOrder */ private int clientID; /** * The TimeStamp for this LimitOrder */ private Timestamp timeStamp; /** * The Symbol for this LimitOrder */ private String symbol; /** * The BuyPrice for this LimitOrder */ private double buyPrice; /** * The Shares for this LimitOrder */ private int shares; /** * The TransactionType for this LimitOrder */ private String transactionType; /** * The Threshold for this LimitOrder */ private double threshold; /** * Return ClientID for this LimitOrder * @return The ClientID for this LimitOrder: Int */ public int getId() { return clientID; } /** * Set the ClientID for this LimitOrder * @param initClientID The ClientID for this LimitOrder: Int */ public void setClientID(int initClientID) { this.clientID = initClientID; } /** * Return the TimeStamp for this LimitOrder * @return The TimeStamp for this LimitOrder: TimeStamp */ public Timestamp getTimeStamp() { return timeStamp; } /** * Set the TimeStamp for this LimitOrder * @param initTimeStamp The TimeStamp for this LimitOrder: TimeStamp */ public void setTimeStamp(Timestamp initTimeStamp) { this.timeStamp = initTimeStamp; } /** * Get the Symbol for this LimitOrder * @return The Symbol for this LimitOrder: String */ public String getSymbol() { return symbol; } /** * Set the Symbol for this LimitOrder * @param initSymbol The Symbol for this LimitOrder: String */ public void setSymbol(String initSymbol) { this.symbol = initSymbol; } /** * Get the BuyPrice for this LimitOrder * @return The BuyPrice for this LimitOrder: Double */ public double getBuyPrice() { return buyPrice; } /** * Set the BuyPrice for this LimitOrder * @param initBuyPrice The BuyPrice for this LimitOrder: Double */ public void setBuyPrice(double initBuyPrice) { this.buyPrice = initBuyPrice; } /** * Get the Shares for this LimitOrder * @return The Shares for this LimitOrder: Int */ public int getShares() { return shares; } /** * Set the Shares for this LimitOrder * @param initShares The Shares for this LimitOrder: Int */ public void setShares(int initShares) { this.shares = initShares; } /** * Get the TransactionType for this LimitOrder * @return The TransactionType for this LimitOrder: String */ public String getTransactionType() { return transactionType; } /** * Set the TransactionType for this LimitOrder * @param initTransactionType The TransactionType for this LimitOrder: String */ public void setTransactionType(String initTransactionType) { this.transactionType = initTransactionType; } /** * Get the Threshold for this LimitOrder * @return The Threshold for this LimitOrder: Double */ public double getThreshold() { return threshold; } /** * Set the Threshold for this LimitOrder * @param initThreshold The Threshold for this LimitOrder: Double */ public void setThreshold(double initThreshold) { this.threshold = initThreshold; } }