View Javadoc
1   package org.oxerr.okcoin.fix.fix44;
2   
3   import org.oxerr.okcoin.fix.field.AccReqID;
4   import org.oxerr.okcoin.fix.field.Balance;
5   import org.oxerr.okcoin.fix.field.FreeBtc;
6   import org.oxerr.okcoin.fix.field.FreeLtc;
7   import org.oxerr.okcoin.fix.field.FreeQtCcy;
8   import org.oxerr.okcoin.fix.field.FrozenBtc;
9   import org.oxerr.okcoin.fix.field.FrozenLtc;
10  import org.oxerr.okcoin.fix.field.FrozenQtCcy;
11  
12  import quickfix.FieldNotFound;
13  import quickfix.field.Account;
14  import quickfix.field.Currency;
15  import quickfix.field.MsgType;
16  import quickfix.fix44.Message;
17  
18  /**
19   * The response message of account info.
20   */
21  public class AccountInfoResponse extends Message {
22  
23  	private static final long serialVersionUID = 20141123L;
24  
25  	public static final String MSGTYPE = "Z1001";
26  
27  	public AccountInfoResponse() {
28  		getHeader().setField(new MsgType(MSGTYPE));
29  	}
30  
31  	public void set(Account value) {
32  		setField(value);
33  	}
34  
35  	public Account get(Account value) throws FieldNotFound {
36  		getField(value);
37  		return value;
38  	}
39  
40  	public Account getAccount() throws FieldNotFound {
41  		Account value = new Account();
42  		getField(value);
43  		return value;
44  	}
45  
46  	public boolean isSet(Account field) {
47  		return isSetField(field);
48  	}
49  
50  	public boolean isSetAccount() {
51  		return isSetField(Account.FIELD);
52  	}
53  
54  	public void set(AccReqID value) {
55  		setField(value);
56  	}
57  
58  	public AccReqID get(AccReqID value) throws FieldNotFound {
59  		getField(value);
60  		return value;
61  	}
62  
63  	public AccReqID getAccReqID() throws FieldNotFound {
64  		AccReqID value = new AccReqID();
65  		getField(value);
66  		return value;
67  	}
68  
69  	public boolean isSet(AccReqID field) {
70  		return isSetField(field);
71  	}
72  
73  	public boolean isSetAccReqID() {
74  		return isSetField(AccReqID.FIELD);
75  	}
76  
77  	public void set(Currency value) {
78  		setField(value);
79  	}
80  
81  	public Currency get(Currency value) throws FieldNotFound {
82  		getField(value);
83  		return value;
84  	}
85  
86  	public Currency getCurrency() throws FieldNotFound {
87  		Currency value = new Currency();
88  		getField(value);
89  		return value;
90  	}
91  
92  	public boolean isSet(Currency field) {
93  		return isSetField(field);
94  	}
95  
96  	public boolean isSetCurrency() {
97  		return isSetField(Currency.FIELD);
98  	}
99  
100 	public void set(Balance value) {
101 		setField(value);
102 	}
103 
104 	public Balance get(Balance value) throws FieldNotFound {
105 		getField(value);
106 		return value;
107 	}
108 
109 	public Balance getBalance() throws FieldNotFound {
110 		Balance value = new Balance();
111 		getField(value);
112 		return value;
113 	}
114 
115 	public boolean isSet(Balance field) {
116 		return isSetField(field);
117 	}
118 
119 	public boolean isSetBalance() {
120 		return isSetField(Balance.FIELD);
121 	}
122 
123 	public void set(FreeBtc value) {
124 		setField(value);
125 	}
126 
127 	public FreeBtc get(FreeBtc value) throws FieldNotFound {
128 		getField(value);
129 		return value;
130 	}
131 
132 	public FreeBtc getFreeBtc() throws FieldNotFound {
133 		FreeBtc value = new FreeBtc();
134 		getField(value);
135 		return value;
136 	}
137 
138 	public boolean isSet(FreeBtc field) {
139 		return isSetField(field);
140 	}
141 
142 	public boolean isSetFreeBtc() {
143 		return isSetField(FreeBtc.FIELD);
144 	}
145 
146 	public void set(FreeLtc value) {
147 		setField(value);
148 	}
149 
150 	public FreeLtc get(FreeLtc value) throws FieldNotFound {
151 		getField(value);
152 		return value;
153 	}
154 
155 	public FreeLtc getFreeLtc() throws FieldNotFound {
156 		FreeLtc value = new FreeLtc();
157 		getField(value);
158 		return value;
159 	}
160 
161 	public boolean isSet(FreeLtc field) {
162 		return isSetField(field);
163 	}
164 
165 	public boolean isSetFreeLtc() {
166 		return isSetField(FreeLtc.FIELD);
167 	}
168 
169 	public void set(FreeQtCcy value) {
170 		setField(value);
171 	}
172 
173 	public FreeQtCcy get(FreeQtCcy value) throws FieldNotFound {
174 		getField(value);
175 		return value;
176 	}
177 
178 	public FreeQtCcy getFreeQtCcy() throws FieldNotFound {
179 		FreeQtCcy value = new FreeQtCcy();
180 		getField(value);
181 		return value;
182 	}
183 
184 	public boolean isSet(FreeQtCcy field) {
185 		return isSetField(field);
186 	}
187 
188 	public boolean isSetFreeQtCcy() {
189 		return isSetField(FreeQtCcy.FIELD);
190 	}
191 
192 	public void set(FrozenBtc value) {
193 		setField(value);
194 	}
195 
196 	public FrozenBtc get(FrozenBtc value) throws FieldNotFound {
197 		getField(value);
198 		return value;
199 	}
200 
201 	public FrozenBtc getFrozenBtc() throws FieldNotFound {
202 		FrozenBtc value = new FrozenBtc();
203 		getField(value);
204 		return value;
205 	}
206 
207 	public boolean isSet(FrozenBtc field) {
208 		return isSetField(field);
209 	}
210 
211 	public boolean isSetFrozenBtc() {
212 		return isSetField(FrozenBtc.FIELD);
213 	}
214 
215 	public void set(FrozenLtc value) {
216 		setField(value);
217 	}
218 
219 	public FrozenLtc get(FrozenLtc value) throws FieldNotFound {
220 		getField(value);
221 		return value;
222 	}
223 
224 	public FrozenLtc getFrozenLtc() throws FieldNotFound {
225 		FrozenLtc value = new FrozenLtc();
226 		getField(value);
227 		return value;
228 	}
229 
230 	public boolean isSet(FrozenLtc field) {
231 		return isSetField(field);
232 	}
233 
234 	public boolean isSetFrozenLtc() {
235 		return isSetField(FrozenLtc.FIELD);
236 	}
237 
238 	public void set(FrozenQtCcy value) {
239 		setField(value);
240 	}
241 
242 	public FrozenQtCcy get(FrozenQtCcy value) throws FieldNotFound {
243 		getField(value);
244 		return value;
245 	}
246 
247 	public FrozenQtCcy getFrozenQtCcy() throws FieldNotFound {
248 		FrozenQtCcy value = new FrozenQtCcy();
249 		getField(value);
250 		return value;
251 	}
252 
253 	public boolean isSet(FrozenQtCcy field) {
254 		return isSetField(field);
255 	}
256 
257 	public boolean isSetFrozenQtCcy() {
258 		return isSetField(FrozenQtCcy.FIELD);
259 	}
260 
261 }