Class BulkActionCompletedTradeEvent
java.lang.Object
com.caplin.generated.motif.fx.orders.bulkorderaction.events.server.BulkActionCompletedTradeEvent
- All Implemented Interfaces:
Message
A single event acting on a BulkOrderActionTrade.
The event may be client generated and received through the respective RFSTradeListener interface or it may be generated by custom code to be sent to the client.
A BulkOrderActionTradeEvent is created using the BulkOrderActionTrade
it relates to.
A BulkOrderActionTradeEvent represents a message sent by the server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this Event.void
Adds a map of fields and their values to this eventcom.caplin.trading.TradeEvent
void
setInitialTimestamp
(Date date) Sets LTY_INIT_TS field to this TradeEvent.void
setInvalidOrderIds
(Object value) A comma separated list of the order IDs the action will not be applied to.void
setValidOrderIds
(Object value) A comma separated list of the order IDs the action will be applied to.toString()
-
Constructor Details
-
BulkActionCompletedTradeEvent
-
-
Method Details
-
getFields
-
addField
Adds a field to this Event.- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
addFields
Adds a map of fields and their values to this event- Parameters:
fields
- A map of field names to values to be added to the event. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
setInitialTimestamp
Sets LTY_INIT_TS field to this TradeEvent.- Parameters:
date
- The time the LTY_INIT_TS field will be set to.
-
setValidOrderIds
A comma separated list of the order IDs the action will be applied to. -
setInvalidOrderIds
A comma separated list of the order IDs the action will not be applied to. -
getBackingEvent
public com.caplin.trading.TradeEvent getBackingEvent()- Returns:
- Get the
TradeEvent
backing this event
-
toString
-