LinkedHashMap<String, CurveInstrumentConfig> curveInstrumentExposures = null;
if (message.hasField(INSTRUMENT_EXPOSURES_CURVE_NAME_FIELD)) {
curveInstrumentExposures = new LinkedHashMap<String, CurveInstrumentConfig>();
for (int i = 0; i < instrumentExposuresCurveNameField.size(); i++) {
final String curveName = deserializer.fieldValueToObject(String.class, instrumentExposuresCurveNameField.get(i));
final CurveInstrumentConfig config = deserializer.fieldValueToObject(CurveInstrumentConfig.class, instrumentExposuresForCurve.get(i));
curveInstrumentExposures.put(curveName, config);
}
}
if (message.hasField(EXOGENOUS_DATA_FIELD)) {
final List<FudgeField> exogenousConfigFields = message.getAllByName(EXOGENOUS_DATA_FIELD);