/** * Create a new CurrencyImbalanceEvent instance. * * @param inImbalance * @param inCurrencyBean */ public CurrencyImbalanceEvent(ImbalanceBean inImbalance, CurrencyBean inCurrencyBean) { super(inImbalance); currency = inCurrencyBean; currency.validate(); } /* (non-Javadoc)
/** * Create a new CurrencyTradeEventImpl instance. * * @param inTradeData a <code>TradeBean</code> value * @param inCurrency a <code>CurrencyBean</code> value */ CurrencyTradeEventImpl(TradeBean inTradeData, CurrencyBean inCurrency) { super(inTradeData); currency = inCurrency; currency.validate(); } /* (non-Javadoc)
/** * Create a new CurrencyMarketstatEventImpl instance. * * @param inMarketstatBean a <code>MarketstatBean</code> value * @throws IllegalArgumentException if <code>MessageId</code> < 0 * @throws IllegalArgumentException if <code>Timestamp</code> is <code>null</code> * @throws IllegalArgumentException if <code>Instrument</code> is <code>null</code> */ CurrencyMarketstatEventImpl(MarketstatBean inMarketstat, CurrencyBean inCurrency) { super(inMarketstat); currency = inCurrency; currency.validate(); } /**
/** * Create a new CurrencyBidEventImpl instance. * * @param inQuote a <code>QuoteBean</code> value * @throws IllegalArgumentException if <code>MessageId</code> < 0 * @throws IllegalArgumentException if <code>Timestamp</code> is <code>null</code> * @throws IllegalArgumentException if <code>Instrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>Price</code> is <code>null</code> * @throws IllegalArgumentException if <code>Size</code> is <code>null</code> * @throws IllegalArgumentException if <code>Exchange</code> is <code>null</code> or empty * @throws IllegalArgumentException if <code>ExchangeTimestamp</code> is <code>null</code> or empty * @throws IllegalArgumentException if <code>Action</code> is <code>null</code> */ CurrencyBidEventImpl(QuoteBean inQuote, CurrencyBean inCurrency) { super(inQuote); currency = CurrencyBean.copy(inCurrency); currency.validate(); } /* (non-Javadoc)
/** * Create a new CurrencyAskEventImpl instance. * * @param inQuote a <code>QuoteBean</code> value * @throws IllegalArgumentException if <code>MessageId</code> < 0 * @throws IllegalArgumentException if <code>Timestamp</code> is <code>null</code> * @throws IllegalArgumentException if <code>Instrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>Price</code> is <code>null</code> * @throws IllegalArgumentException if <code>Size</code> is <code>null</code> * @throws IllegalArgumentException if <code>Exchange</code> is <code>null</code> or empty * @throws IllegalArgumentException if <code>ExchangeTimestamp</code> is <code>null</code> or empty * @throws IllegalArgumentException if <code>Action</code> is <code>null</code> */ CurrencyAskEventImpl(QuoteBean inQuote, CurrencyBean inCurrency) { super(inQuote); currency = CurrencyBean.copy(inCurrency); currency.validate(); } /**