Class DefaultLBNCustomFieldsFactory

  • All Implemented Interfaces:
    LBNCustomFieldsFactory

    public class DefaultLBNCustomFieldsFactory
    extends java.lang.Object
    implements LBNCustomFieldsFactory
    A LBNCustomFieldsFactory that creates record fields to be published to the blotter. The fields are additional fields that are not already contained in the standard set of fields send to the blotter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> createRecordFields​(com.caplin.ret.trapi.lbn.DealRecord dealRecord, com.caplin.motif.fx.ret.lbn.internal.DealRecordType type, com.caplin.ret.trapi.admin.rates.RatePrecision ratePrecision)
      Create fields from CDealRecord record.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultLBNCustomFieldsFactory

        public DefaultLBNCustomFieldsFactory()
    • Method Detail

      • createRecordFields

        @Nonnull
        public java.util.Map<java.lang.String,​java.lang.String> createRecordFields​(@Nonnull
                                                                                         com.caplin.ret.trapi.lbn.DealRecord dealRecord,
                                                                                         @Nonnull
                                                                                         com.caplin.motif.fx.ret.lbn.internal.DealRecordType type,
                                                                                         @Nullable
                                                                                         com.caplin.ret.trapi.admin.rates.RatePrecision ratePrecision)
        Create fields from CDealRecord record.
        Specified by:
        createRecordFields in interface LBNCustomFieldsFactory
        Parameters:
        dealRecord - - DealRecord - provides method getCDealRecord to get CDealRecord object received from Refinitiv.
        type - - DealRecordType - the type of deal e.g insert, update or withdrawn
        ratePrecision - - RatePrecision - provides precision information. Only available if near deal leg has spot decimal places.
        Returns:
        a map of record fields