/** * Create a new OptionImbalanceEvent instance. * * @param inImbalanceBean a <code>ImbalanceBean</code> value * @param inOptionBean an <code>OptionBean</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>UnderlyingInstrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>ExpirationType</code> is <code>null</code> */ public OptionImbalanceEvent(ImbalanceBean inImbalance, OptionBean inOption) { super(inImbalance); option = OptionBean.copy(inOption); option.validate(); } /**
/** * Create a new OptionBidEventImpl instance. * * @param inQuote a <code>QuoteBean</code> value * @param inOption an <code>OptionBean</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> * @throws IllegalArgumentException if <code>UnderlyingInstrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>ExpirationType</code> is <code>null</code> */ OptionBidEventImpl(QuoteBean inQuote, OptionBean inOption) { super(inQuote); option = OptionBean.copy(inOption); option.validate(); } /* (non-Javadoc)
/** * Create a new OptionTradeEventImpl instance. * * @param inTradeData a <code>TradeBean</code> value * @param inOption an <code>OptionBean</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> * @throws IllegalArgumentException if <code>UnderlyingInstrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>ExpirationType</code> is <code>null</code> */ OptionTradeEventImpl(TradeBean inTradeData, OptionBean inOption) { super(inTradeData); option = OptionBean.copy(inOption); option.validate(); } /* (non-Javadoc)
/** * Create a new OptionMarketstatEventImpl instance. * * @param inMarketstatBean a <code>MarketstatBean</code> value * @param inOptionBean an <code>OptionBean</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>UnderlyingInstrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>ExpirationType</code> is <code>null</code> */ OptionMarketstatEventImpl(MarketstatBean inMarketstat, OptionBean inOption, BigDecimal inVolumeChange, BigDecimal inInterestChange) { super(inMarketstat); option = OptionBean.copy(inOption); option.validate(); volumeChange = inVolumeChange; interestChange = inInterestChange; } /**
/** * Create a new OptionAskEventImpl instance. * * @param inQuote a <code>QuoteBean</code> value * @param inOption an <code>OptionBean</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> * @throws IllegalArgumentException if <code>UnderlyingInstrument</code> is <code>null</code> * @throws IllegalArgumentException if <code>ExpirationType</code> is <code>null</code> */ OptionAskEventImpl(QuoteBean inQuote, OptionBean inOption) { super(inQuote); option = OptionBean.copy(inOption); option.validate(); } /* (non-Javadoc)