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 Object implements com.caplin.trading.TradeEvent
  • Field Details

  • Constructor Details

    • BlockV1ExecuteEvent

      public BlockV1ExecuteEvent(com.caplin.trading.TradeEvent wrappedTradeEvent, BlockSubmitWrapper blockSubmitWrapper)
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface com.caplin.trading.TradeEvent
    • isType

      public boolean isType(String type)
      Specified by:
      isType in interface com.caplin.trading.TradeEvent
    • getTrade

      public com.caplin.trading.Trade getTrade()
      Specified by:
      getTrade in interface com.caplin.trading.TradeEvent
    • getSource

      public String getSource()
      Specified by:
      getSource in interface com.caplin.trading.TradeEvent
    • setRestorationId

      public void setRestorationId(String restorationId)
      Specified by:
      setRestorationId in interface com.caplin.trading.TradeEvent
    • addField

      public void addField(String name, String value)
      Specified by:
      addField in interface com.caplin.trading.TradeEvent
    • addField

      public void addField(String name, int value)
      Specified by:
      addField in interface com.caplin.trading.TradeEvent
    • setInitialTimestamp

      public void setInitialTimestamp(Date date)
      Specified by:
      setInitialTimestamp in interface com.caplin.trading.TradeEvent
    • getField

      public String getField(String name)
      Specified by:
      getField in interface com.caplin.trading.TradeEvent
    • addLegAction

      public void addLegAction(com.caplin.trading.LegAction action)
      Specified by:
      addLegAction in interface com.caplin.trading.TradeEvent
    • getLegActions

      public List<com.caplin.trading.LegAction> getLegActions()
      Specified by:
      getLegActions in interface com.caplin.trading.TradeEvent
    • getFields

      public Map<String,String> getFields()
      Specified by:
      getFields in interface com.caplin.trading.TradeEvent
    • getEventSource

      public com.caplin.trading.EventSource getEventSource()
      Specified by:
      getEventSource in interface com.caplin.trading.TradeEvent