View Javadoc
1   package org.oxerr.okcoin.fix.fix44;
2   
3   import org.oxerr.okcoin.fix.field.AccReqID;
4   
5   import quickfix.FieldNotFound;
6   import quickfix.field.Account;
7   import quickfix.field.MsgType;
8   import quickfix.fix44.Message;
9   
10  /**
11   * The request message for account info.
12   */
13  public class AccountInfoRequest extends Message {
14  
15  	private static final long serialVersionUID = 20141123L;
16  
17  	public static final String MSGTYPE = "Z1000";
18  
19  	public AccountInfoRequest() {
20  		getHeader().setField(new MsgType(MSGTYPE));
21  	}
22  
23  	public void set(Account value) {
24  		setField(value);
25  	}
26  
27  	public Account get(Account value) throws FieldNotFound {
28  		getField(value);
29  		return value;
30  	}
31  
32  	public Account getAccount() throws FieldNotFound {
33  		Account value = new Account();
34  		getField(value);
35  		return value;
36  	}
37  
38  	public boolean isSet(Account field) {
39  		return isSetField(field);
40  	}
41  
42  	public boolean isSetAccount() {
43  		return isSetField(Account.FIELD);
44  	}
45  
46  	public void set(AccReqID value) {
47  		setField(value);
48  	}
49  
50  	public AccReqID get(AccReqID value) throws FieldNotFound {
51  		getField(value);
52  		return value;
53  	}
54  
55  	public AccReqID getAccReqID() throws FieldNotFound {
56  		AccReqID value = new AccReqID();
57  		getField(value);
58  		return value;
59  	}
60  
61  	public boolean isSet(AccReqID field) {
62  		return isSetField(field);
63  	}
64  
65  	public boolean isSetAccReqID() {
66  		return isSetField(AccReqID.FIELD);
67  	}
68  
69  }