Class BlockTradeValidator
- java.lang.Object
-
- com.caplin.motif.fx.trading.block.BlockTradeValidator
-
- All Implemented Interfaces:
TradeValidator
public class BlockTradeValidator extends Object implements TradeValidator
-
-
Constructor Summary
Constructors Constructor Description BlockTradeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(com.caplin.trading.Trade trade)
Validates if the trade contains all the required fields
-
-
-
Method Detail
-
validate
public void validate(com.caplin.trading.Trade trade) throws ValidationException
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.
-
-