View Javadoc

1   /*
2    *  
3    *  author nambi sankaran
4    *  copyright (C) 2009 nambi sankaran.
5    *
6    *  This program is free software: you can redistribute it and/or modify
7    *  it under the terms of the GNU General Public License as published by
8    *  the Free Software Foundation, either version 3 of the License, or
9    *  (at your option) any later version.
10   *
11   *  This program is distributed in the hope that it will be useful,
12   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   *  GNU General Public License for more details.
15   *
16   *  You should have received a copy of the GNU General Public License
17   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   *
19   */
20  package net.sf.emarket.trade.domain;
21  
22  import java.sql.Timestamp;
23  
24  public class OrderFill {
25  
26  	private long id = 0l;
27  	private long matchId = 0l;
28  	private String orderId = null;
29  	private String orderType = null;
30  	private String matchType = null;
31  	private String symbol = null;
32  	private int matchedQuantity =0;
33  	private float matchPrice =0f;
34  	private Timestamp matchTime=null;
35  	private Timestamp time=null;	
36  	
37  	public long getId() {
38  		return id;
39  	}
40  	public void setId(long id) {
41  		this.id = id;
42  	}
43  	public long getMatchId() {
44  		return matchId;
45  	}
46  	public void setMatchId(long matchId) {
47  		this.matchId = matchId;
48  	}
49  	public String getOrderId() {
50  		return orderId;
51  	}
52  	public void setOrderId(String orderId) {
53  		this.orderId = orderId;
54  	}
55  	public String getOrderType() {
56  		return orderType;
57  	}
58  	public void setOrderType(String orderType) {
59  		this.orderType = orderType;
60  	}
61  	public String getMatchType() {
62  		return matchType;
63  	}
64  	public void setMatchType(String matchType) {
65  		this.matchType = matchType;
66  	}
67  	public String getSymbol() {
68  		return symbol;
69  	}
70  	public void setSymbol(String symbol) {
71  		this.symbol = symbol;
72  	}
73  	public int getMatchedQuantity() {
74  		return matchedQuantity;
75  	}
76  	public void setMatchedQuantity(int matchedQuantity) {
77  		this.matchedQuantity = matchedQuantity;
78  	}
79  	public float getMatchPrice() {
80  		return matchPrice;
81  	}
82  	public void setMatchPrice(float matchPrice) {
83  		this.matchPrice = matchPrice;
84  	}
85  	public Timestamp getMatchTime() {
86  		return matchTime;
87  	}
88  	public void setMatchTime(Timestamp matchTime) {
89  		this.matchTime = matchTime;
90  	}
91  	public Timestamp getTime() {
92  		return time;
93  	}
94  	public void setTime(Timestamp time) {
95  		this.time = time;
96  	}
97  
98  }