public static MultiLegReportingType getMultiLegReportingType()

in fix/core/src/main/java/deltix/connector/fix/FixUtil.java [253:270]


    public static MultiLegReportingType getMultiLegReportingType(byte multiLegReportingType) {
        switch (multiLegReportingType) {
            case deltix.efix.message.field.MultiLegReportingType.SINGLE_SECURITY:
                return MultiLegReportingType.SINGLE_SECURITY;

            case deltix.efix.message.field.MultiLegReportingType.MULTI_LEG_SECURITY:
                return MultiLegReportingType.MULTI_LEG_SECURITY;

            case deltix.efix.message.field.MultiLegReportingType.INDIVIDUAL_LEG_OF_A_MULTI_LEG_SECURITY:
                return MultiLegReportingType.INDIVIDUAL_LEG_SECURITY;
        }

        if (multiLegReportingType != TypeConstants.BYTE_NULL) {
            throw new IllegalArgumentException("Unsupported MultiLegReportingType: " + multiLegReportingType);
        }

        return null;
    }