Class BlockV1SubmitEvent

  • All Implemented Interfaces:
    com.caplin.trading.TradeEvent

    public class BlockV1SubmitEvent
    extends java.lang.Object
    implements com.caplin.trading.TradeEvent
    • Constructor Detail

      • BlockV1SubmitEvent

        public BlockV1SubmitEvent​(com.caplin.trading.TradeEvent wrappedTradeEvent)
    • Method Detail

      • getNumberOfNonNettedV1Legs

        public int getNumberOfNonNettedV1Legs()
      • getNumberOfOriginalV1Legs

        public int getNumberOfOriginalV1Legs()
      • 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
      • getLegPrefixes

        public java.util.Set<java.lang.String> getLegPrefixes()