public class BulkOrderActionTrade extends MotifTrade
An instance of this object represents a request from the client to perform an action on a number of orders.
trade
Constructor and Description |
---|
BulkOrderActionTrade(com.caplin.trading.Trade trade,
BulkOrderAction bulkOrderAction,
Set<String> orderIDs)
Constructs the BulkOrderActionTrade with a trade object from the underlying
trading datasource that contains the fields and the state model representing the
clients request to perform bulk action on a set of orders.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BulkOrderActionSentResponder |
getBulkActionSentResponder()
Returns the responder that can trigger events from the BulkActionSent state.
|
BulkOrderAction |
getBulkOrderAction() |
Set<String> |
getOrderIDs()
The ids of the orders on which this action should be performed on.
|
BulkOrderActionProcessingResponder |
getProcessingResponder()
Returns the responder that can trigger events from the Processing state.
|
int |
hashCode() |
String |
toString() |
createEvent, getCurrentState, getField, getRequestID, getTradeChannelSubject, getUsername, sendEvent
public BulkOrderActionTrade(com.caplin.trading.Trade trade, BulkOrderAction bulkOrderAction, Set<String> orderIDs)
Constructs the BulkOrderActionTrade with a trade object from the underlying trading datasource that contains the fields and the state model representing the clients request to perform bulk action on a set of orders.
Note: As a user of the FXIntegrationAPI one is not expected to create
this object, but to be passed these in listeners. See BulkOrderActionTradeListener
trade
- The underlying trade from the trading datasource library.orderIDs
- A set of order ids on which the bulk order action BulkOrderAction
will be performed.bulkOrderAction
- The bulk action to perform on these orders.public BulkOrderActionSentResponder getBulkActionSentResponder()
public BulkOrderActionProcessingResponder getProcessingResponder()
public BulkOrderAction getBulkOrderAction()
BulkOrderAction
for this tradepublic Set<String> getOrderIDs()
public String toString()
toString
in class MotifTrade
Copyright © 2015 Caplin Systems.