Interface LBNCustomFieldsFactory

  • All Known Implementing Classes:
    DefaultLBNCustomFieldsFactory

    public interface LBNCustomFieldsFactory
    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 Abstract 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 DealRecord record.
    • Method Detail

      • createRecordFields

        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 DealRecord record.
        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