/** * Create a new CurrencyMarketstatEventImpl instance. * * <p>This constructor is intended to be used by JAXB only. */ @SuppressWarnings("unused") private CurrencyMarketstatEventImpl() { currency = new CurrencyBean(); } /**
/** * Create a new CurrencyImbalanceEvent instance. */ @SuppressWarnings("unused") private CurrencyImbalanceEvent() { currency = new CurrencyBean(); } /**
/** * Create a new CurrencyAskEventImpl instance. * * <p>This constructor is intended to be used by JAXB only. */ @SuppressWarnings("unused") private CurrencyAskEventImpl() { currency = new CurrencyBean(); } /* (non-Javadoc)
/** * Create a new CurrencyBidEventImpl instance. * * <p>This constructor is intended to be used by JAXB only. */ @SuppressWarnings("unused") private CurrencyBidEventImpl() { currency = new CurrencyBean(); } /**
/** * Create a new CurrencyTradeEventImpl instance. * * <p>This constructor is intended to be used by JAXB only. */ @SuppressWarnings("unused") private CurrencyTradeEventImpl() { currency = new CurrencyBean(); } /**
/** * Creates a shallow copy of the given <code>CurrencyBean</code>. * * @param inBean a <code>CurrencyBean</code> value * @return a <code>CurrencyBean</code> value */ public static CurrencyBean copy(CurrencyBean inBean) { CurrencyBean newBean = new CurrencyBean(); copyAttributes(inBean, newBean); return newBean; } /**
/** * Builds a <code>CurrencyBean</code> based on the values of * the given event. * * @param inCurrencyEvent a <code>CurrencyEvent</code> value * @return a <code>CurrencyBean</code> value */ public static CurrencyBean getCurrencyBeanFromEvent(CurrencyEvent inCurrencyEvent) { CurrencyBean currency = new CurrencyBean(); currency.setInstrument(inCurrencyEvent.getInstrument()); //ToDo Set appropriate properties return currency; } /**