View Javadoc

1   package net.sf.emarket.account.domain;
2   
3   import java.sql.Timestamp;
4   
5   public class AcctPositionSummary {
6   	
7   	private String acctId = null;
8   	private String symbol = null;
9   	private String symbolType = null;
10  	private long quantity = 0l;
11  	private float averagePurchasePrice = 0f;
12  	private float totalPurchasePrice = 0f;
13  	private float currentPrice = 0f;
14  	private float currentValue = 0f;
15  	private Timestamp lastUpdated = null;
16  	
17  	public String getAcctId() {
18  		return acctId;
19  	}
20  	public void setAcctId(String acctId) {
21  		this.acctId = acctId;
22  	}
23  	public String getSymbol() {
24  		return symbol;
25  	}
26  	public void setSymbol(String symbol) {
27  		this.symbol = symbol;
28  	}
29  	public String getSymbolType() {
30  		return symbolType;
31  	}
32  	public void setSymbolType(String symbolType) {
33  		this.symbolType = symbolType;
34  	}
35  	public long getQuantity() {
36  		return quantity;
37  	}
38  	public void setQuantity(long quantity) {
39  		this.quantity = quantity;
40  	}
41  	public float getAveragePurchasePrice() {
42  		return averagePurchasePrice;
43  	}
44  	public void setAveragePurchasePrice(float averagePurchasePrice) {
45  		this.averagePurchasePrice = averagePurchasePrice;
46  	}
47  	public float getTotalPurchasePrice() {
48  		return totalPurchasePrice;
49  	}
50  	public void setTotalPurchasePrice(float totalPurchasePrice) {
51  		this.totalPurchasePrice = totalPurchasePrice;
52  	}
53  	public float getCurrentPrice() {
54  		return currentPrice;
55  	}
56  	public void setCurrentPrice(float currentPrice) {
57  		this.currentPrice = currentPrice;
58  	}
59  	public float getCurrentValue() {
60  		return currentValue;
61  	}
62  	public void setCurrentValue(float currentValue) {
63  		this.currentValue = currentValue;
64  	}
65  	public Timestamp getLastUpdated() {
66  		return lastUpdated;
67  	}
68  	public void setLastUpdated(Timestamp lastUpdated) {
69  		this.lastUpdated = lastUpdated;
70  	}
71  
72  }