Class DefaultLBNCustomFieldsFactory
- java.lang.Object
-
- com.caplin.motif.fx.ret.lbn.extension.blotter.DefaultLBNCustomFieldsFactory
-
- All Implemented Interfaces:
LBNCustomFieldsFactory
public class DefaultLBNCustomFieldsFactory extends java.lang.Object implements LBNCustomFieldsFactory
ALBNCustomFieldsFactory
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.
-
-
Constructor Summary
Constructors Constructor Description DefaultLBNCustomFieldsFactory()
-
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.
-
-
-
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 interfaceLBNCustomFieldsFactory
- Parameters:
dealRecord
- - DealRecord - provides method getCDealRecord to get CDealRecord object received from Refinitiv.type
- - DealRecordType - the type of deal e.g insert, update or withdrawnratePrecision
- - RatePrecision - provides precision information. Only available if near deal leg has spot decimal places.- Returns:
- a map of record fields
-
-