Class BlockTradeValidator
java.lang.Object
com.caplin.motif.fx.trading.block.BlockTradeValidator
- All Implemented Interfaces:
TradeValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(com.caplin.trading.Trade trade) Validates if the trade contains all the required fields
-
Constructor Details
-
BlockTradeValidator
public BlockTradeValidator()
-
-
Method Details
-
validate
Validates if the trade contains all the required fields- Specified by:
validate
in interfaceTradeValidator
- Parameters:
trade
- the generic trade- Throws:
ValidationException
- If there was a problem validating the trade.
-