Class BlockV1ExecuteEvent
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.submission.block.BlockV1ExecuteEvent
-
- All Implemented Interfaces:
com.caplin.trading.TradeEvent
public class BlockV1ExecuteEvent extends java.lang.Object implements com.caplin.trading.TradeEvent
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTRIB_USER
-
Constructor Summary
Constructors Constructor Description BlockV1ExecuteEvent(com.caplin.trading.TradeEvent wrappedTradeEvent, BlockSubmitWrapper blockSubmitWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(java.lang.String name, int value)
void
addField(java.lang.String name, java.lang.String value)
void
addLegAction(com.caplin.trading.LegAction action)
com.caplin.trading.EventSource
getEventSource()
java.lang.String
getField(java.lang.String name)
java.util.Map<java.lang.String,java.lang.String>
getFields()
java.util.List<com.caplin.trading.LegAction>
getLegActions()
java.lang.String
getSource()
com.caplin.trading.Trade
getTrade()
java.lang.String
getType()
boolean
isType(java.lang.String type)
void
setInitialTimestamp(java.util.Date date)
void
setRestorationId(java.lang.String restorationId)
-
-
-
Field Detail
-
CONTRIB_USER
public static final java.lang.String CONTRIB_USER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BlockV1ExecuteEvent
public BlockV1ExecuteEvent(com.caplin.trading.TradeEvent wrappedTradeEvent, BlockSubmitWrapper blockSubmitWrapper)
-
-
Method Detail
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfacecom.caplin.trading.TradeEvent
-
isType
public boolean isType(java.lang.String type)
- Specified by:
isType
in interfacecom.caplin.trading.TradeEvent
-
getTrade
public com.caplin.trading.Trade getTrade()
- Specified by:
getTrade
in interfacecom.caplin.trading.TradeEvent
-
getSource
public java.lang.String getSource()
- Specified by:
getSource
in interfacecom.caplin.trading.TradeEvent
-
setRestorationId
public void setRestorationId(java.lang.String restorationId)
- Specified by:
setRestorationId
in interfacecom.caplin.trading.TradeEvent
-
addField
public void addField(java.lang.String name, java.lang.String value)
- Specified by:
addField
in interfacecom.caplin.trading.TradeEvent
-
addField
public void addField(java.lang.String name, int value)
- Specified by:
addField
in interfacecom.caplin.trading.TradeEvent
-
setInitialTimestamp
public void setInitialTimestamp(java.util.Date date)
- Specified by:
setInitialTimestamp
in interfacecom.caplin.trading.TradeEvent
-
getField
public java.lang.String getField(java.lang.String name)
- Specified by:
getField
in interfacecom.caplin.trading.TradeEvent
-
addLegAction
public void addLegAction(com.caplin.trading.LegAction action)
- Specified by:
addLegAction
in interfacecom.caplin.trading.TradeEvent
-
getLegActions
public java.util.List<com.caplin.trading.LegAction> getLegActions()
- Specified by:
getLegActions
in interfacecom.caplin.trading.TradeEvent
-
getFields
public java.util.Map<java.lang.String,java.lang.String> getFields()
- Specified by:
getFields
in interfacecom.caplin.trading.TradeEvent
-
getEventSource
public com.caplin.trading.EventSource getEventSource()
- Specified by:
getEventSource
in interfacecom.caplin.trading.TradeEvent
-
-