View Javadoc
1   package org.oxerr.okcoin.fix.fix44;
2   
3   import quickfix.FieldNotFound;
4   import quickfix.field.MsgType;
5   import quickfix.field.OrdStatus;
6   import quickfix.field.OrderID;
7   import quickfix.field.Symbol;
8   import quickfix.field.TradeRequestID;
9   import quickfix.fix44.Message;
10  
11  /**
12   * The request message to get history order information.
13   */
14  public class OrdersInfoAfterSomeIDRequest extends Message {
15  
16  	private static final long serialVersionUID = 20150608L;
17  
18  	public static final String MSGTYPE = "Z2000";
19  
20  	public OrdersInfoAfterSomeIDRequest() {
21  		getHeader().setField(new MsgType(MSGTYPE));
22  	}
23  
24  	public OrdersInfoAfterSomeIDRequest(
25  			TradeRequestID tradeRequestID,
26  			Symbol symbol,
27  			OrderID orderID,
28  			OrdStatus ordStatus) {
29  		this();
30  		set(tradeRequestID);
31  		set(symbol);
32  		set(orderID);
33  		set(ordStatus);
34  	}
35  
36  	public void set(OrderID value) {
37  		setField(value);
38  	}
39  
40  	public OrderID get(OrderID value) throws FieldNotFound {
41  		getField(value);
42  		return value;
43  	}
44  
45  	public OrderID getOrderID() throws FieldNotFound {
46  		OrderID value = new OrderID();
47  		getField(value);
48  		return value;
49  	}
50  
51  	public boolean isSet(OrderID field) {
52  		return isSetField(field);
53  	}
54  
55  	public boolean isSetOrderID() {
56  		return isSetField(OrderID.FIELD);
57  	}
58  
59  	public void set(OrdStatus value) {
60  		setField(value);
61  	}
62  
63  	public OrdStatus get(OrdStatus value) throws FieldNotFound {
64  		getField(value);
65  		return value;
66  	}
67  
68  	public OrdStatus getOrdStatus() throws FieldNotFound {
69  		OrdStatus value = new OrdStatus();
70  		getField(value);
71  		return value;
72  	}
73  
74  	public boolean isSet(OrdStatus field) {
75  		return isSetField(field);
76  	}
77  
78  	public boolean isSetOrdStatus() {
79  		return isSetField(OrdStatus.FIELD);
80  	}
81  
82  	public void set(Symbol value) {
83  		setField(value);
84  	}
85  
86  	public Symbol get(Symbol value) throws FieldNotFound {
87  		getField(value);
88  		return value;
89  	}
90  
91  	public Symbol getSymbol() throws FieldNotFound {
92  		Symbol value = new Symbol();
93  		getField(value);
94  		return value;
95  	}
96  
97  	public boolean isSet(Symbol field) {
98  		return isSetField(field);
99  	}
100 
101 	public boolean isSetSymbol() {
102 		return isSetField(Symbol.FIELD);
103 	}
104 
105 	public void set(TradeRequestID value) {
106 		setField(value);
107 	}
108 
109 	public TradeRequestID get(TradeRequestID value) throws FieldNotFound {
110 		getField(value);
111 		return value;
112 	}
113 
114 	public TradeRequestID getTradeRequestID() throws FieldNotFound {
115 		TradeRequestID value = new TradeRequestID();
116 		getField(value);
117 		return value;
118 	}
119 
120 	public boolean isSet(TradeRequestID field) {
121 		return isSetField(field);
122 	}
123 
124 	public boolean isSetTradeRequestID() {
125 		return isSetField(TradeRequestID.FIELD);
126 	}
127 
128 }