final BusinessDayConvention businessDayConvention = BusinessDayConventionFactory.INSTANCE.getBusinessDayConvention(message.getString(BUSINESS_DAY_CONVENTION_FIELD));
final DayCount dayCount = DayCountFactory.INSTANCE.getDayCount(message.getString(DAYCOUNT_FIELD));
final boolean isEOM = message.getBoolean(IS_EOM_FIELD);
final int monthLag = message.getInt(MONTH_LAG_FIELD);
final int spotLag = message.getInt(SPOT_LAG_FIELD);
final ExternalId priceIndexConvention = deserializer.fieldValueToObject(ExternalId.class, message.getByName(PRICE_INDEX_FIELD));
final InflationLegConvention convention = new InflationLegConvention(name, externalIdBundle, businessDayConvention, dayCount,
isEOM, monthLag, spotLag, priceIndexConvention);
final FudgeField uniqueIdMsg = message.getByName(UNIQUE_ID_FIELD);
if (uniqueIdMsg != null) {
convention.setUniqueId(deserializer.fieldValueToObject(UniqueId.class, uniqueIdMsg));