Class
caplin.trading.validation

MaxTierLimitExceededValidator

The MaxTierLimitExceededValidator is a caplin.trading.validation.Validator that is used during a trade to determine whether the max tier limit has been exceeded or not.
This class is immutable.

Constructor Summary

Attributes Name and Description
caplin.trading.validation.MaxTierLimitExceededValidator()

The constructor for the MaxTierLimitExceededValidator.

Method Summary

Attributes Name and Description
void validate(caplin.trading.trademodel.DataHolder oDataToValidate, caplin.trading.validation.ValidationResult oValidationResult)

Determines whether the max tier limit has been exceeded or not.

Constructor Detail

caplin.trading.validation.MaxTierLimitExceededValidator()

The constructor for the MaxTierLimitExceededValidator.

Method Detail

void validate(caplin.trading.trademodel.DataHolder oDataToValidate, caplin.trading.validation.ValidationResult oValidationResult)

Determines whether the max tier limit has been exceeded or not.

Parameters
caplin.trading.trademodel.DataHolder oDataToValidate is trading data supplied by the trade such as the instrument, the trading protocol and the asset class. Must not be null or undefined.
caplin.trading.validation.ValidationResult oValidationResult The object used to report permission failure. Must not be null or undefined.