|
From: Toli K. <to...@ma...> - 2007-10-02 14:46:18
|
John,
You can try using a getString(field) instead:
holder.setAccount(new Account(quoteRequest.getString(Account.FIELD)));
This way is a little cleaner
On 10/2/07, John Coleman <joh...@eu...> wrote:
> QuickFIX/J Documentation:
> In my application I receive a message. The getAccount method does not exist
> for this message so I am using getField and then want to do a
> setAccount(Account a) method on my own value object class.
>
>
>
> holder.setAccount(new Account(quoteRequest.getField(new
> Account()).getValue()));
>
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
|