/** * Create a new FutureAskEventImpl instance. * * <p>This constructor is intended to be used by JAXB. */ @SuppressWarnings("unused") private FutureAskEventImpl() { future = new FutureBean(); } /**
/** * Create a new FutureMarketstatEventImpl instance. * * <p>This constructor is intended to be used by JAXB. */ @SuppressWarnings("unused") private FutureMarketstatEventImpl() { future = new FutureBean(); } /**
/** * Create a new FutureTradeEventImpl instance. * * <p>This constructor is intended to be used by JAXB. */ @SuppressWarnings("unused") private FutureTradeEventImpl() { future = new FutureBean(); } /**
/** * Create a new FutureImbalanceEvent instance. * * <p>This constructor is intended to be used by JAXB. */ @SuppressWarnings("unused") private FutureImbalanceEvent() { future = new FutureBean(); } /**
/** * Create a new FutureBidEventImpl instance. * * <p>This constructor is intended to be used by JAXB. */ @SuppressWarnings("unused") private FutureBidEventImpl() { future = new FutureBean(); } /**
/** * Creates a shallow copy of the given <code>FutureBean</code>. * * @param inBean a <code>FutureBean</code> value * @return a <code>FutureBean</code> value */ public static FutureBean copy(FutureBean inBean) { FutureBean newBean = new FutureBean(); copyAttributes(inBean, newBean); return newBean; } /**
/** * Builds a <code>FutureBean</code> based on the values of * the given event. * * @param inFutureEvent a <code>FutureEvent</code> value * @return a <code>FutureBean</code> value */ public static FutureBean getFutureBeanFromEvent(FutureEvent inFutureEvent) { FutureBean future = new FutureBean(); future.setDeliveryType(inFutureEvent.getDeliveryType()); future.setType(inFutureEvent.getType()); future.setStandardType(inFutureEvent.getStandardType()); future.setUnderlyingAssetType(inFutureEvent.getUnderylingAssetType()); future.setInstrument(inFutureEvent.getInstrument()); future.setProviderSymbol(inFutureEvent.getProviderSymbol()); future.setContractSize(inFutureEvent.getContractSize()); return future; } /**