Class RFSFieldValuesFactory
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.extension.customfield.RFSFieldValuesFactory
-
- All Implemented Interfaces:
CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
public class RFSFieldValuesFactory extends java.lang.Object implements CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.caplin.motif.fx.ret.common.customfield.CustomFieldValuesFactory
CustomFieldValuesFactory.Context
-
-
Constructor Summary
Constructors Constructor Description RFSFieldValuesFactory(InjectableCustomFieldValues customFieldValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomFieldValues
createCustomFieldValues(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, RFSTradeProperties tradeProperties)
CreatesCustomFieldValues
for spot and swap trades.void
initialise(CustomFieldValuesFactory.Context context)
-
-
-
Constructor Detail
-
RFSFieldValuesFactory
public RFSFieldValuesFactory(InjectableCustomFieldValues customFieldValues)
-
-
Method Detail
-
initialise
public void initialise(CustomFieldValuesFactory.Context context)
- Specified by:
initialise
in interfaceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
-
createCustomFieldValues
public CustomFieldValues createCustomFieldValues(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, RFSTradeProperties tradeProperties)
CreatesCustomFieldValues
for spot and swap trades. For swap trades, the L2_AMOUNT (ie. the far amount) field is set in addition to the L1_AMOUNT (ie. the near amount).- Specified by:
createCustomFieldValues
in interfaceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
-
-