Class ESPFieldValuesFactory
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.extension.customfield.ESPFieldValuesFactory
-
- All Implemented Interfaces:
CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.esp.ESPTrade,ESPTradeProperties>
public class ESPFieldValuesFactory extends java.lang.Object implements CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.esp.ESPTrade,ESPTradeProperties>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.caplin.motif.fx.ret.common.customfield.CustomFieldValuesFactory
CustomFieldValuesFactory.Context
-
-
Constructor Summary
Constructors Constructor Description ESPFieldValuesFactory(InjectableCustomFieldValues customFieldValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomFieldValues
createCustomFieldValues(com.caplin.generated.motif.fx.trading.esp.ESPTrade trade, ESPTradeProperties tradeProperties)
Returns aCustomFieldValues
object.void
initialise(CustomFieldValuesFactory.Context context)
-
-
-
Constructor Detail
-
ESPFieldValuesFactory
public ESPFieldValuesFactory(InjectableCustomFieldValues customFieldValues)
-
-
Method Detail
-
initialise
public void initialise(CustomFieldValuesFactory.Context context)
- Specified by:
initialise
in interfaceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.esp.ESPTrade,ESPTradeProperties>
-
createCustomFieldValues
public CustomFieldValues createCustomFieldValues(com.caplin.generated.motif.fx.trading.esp.ESPTrade trade, ESPTradeProperties tradeProperties)
Description copied from interface:CustomFieldValuesFactory
Returns a
CustomFieldValues
object.Use this method to populate
CustomFieldValues
with values taken from theUserTrade
and tradeProperties- Specified by:
createCustomFieldValues
in interfaceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.esp.ESPTrade,ESPTradeProperties>
-
-