Class 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  
    • 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockV1ExecuteEvent

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

      • getType

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

        public boolean isType​(java.lang.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 java.lang.String getSource()
        Specified by:
        getSource in interface com.caplin.trading.TradeEvent
      • setRestorationId

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

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

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

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

        public java.lang.String getField​(java.lang.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 java.util.List<com.caplin.trading.LegAction> getLegActions()
        Specified by:
        getLegActions in interface com.caplin.trading.TradeEvent
      • getFields

        public java.util.Map<java.lang.String,​java.lang.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