Class BlockV1SubmitEvent
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.submission.block.BlockV1SubmitEvent
-
- All Implemented Interfaces:
com.caplin.trading.TradeEvent
public class BlockV1SubmitEvent extends java.lang.Object implements com.caplin.trading.TradeEvent
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTRIB_USER
static java.lang.String
PARENT
-
Constructor Summary
Constructors Constructor Description BlockV1SubmitEvent(com.caplin.trading.TradeEvent wrappedTradeEvent)
-
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.util.Set<java.lang.String>
getLegPrefixes()
int
getNumberOfNonNettedV1Legs()
int
getNumberOfOriginalV1Legs()
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
-
PARENT
public static final java.lang.String PARENT
- See Also:
- Constant Field Values
-
CONTRIB_USER
public static final java.lang.String CONTRIB_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNumberOfNonNettedV1Legs
public int getNumberOfNonNettedV1Legs()
-
getNumberOfOriginalV1Legs
public int getNumberOfOriginalV1Legs()
-
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
-
getLegPrefixes
public java.util.Set<java.lang.String> getLegPrefixes()
-
-