public class CartTotalSumValidator extends AbstractExpressionValidator<CartTotalSum,Double>
CartTotalSum| Constructor and Description |
|---|
CartTotalSumValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected Double |
getMinimum() |
protected Double |
getValue(BTGOperandModel rightOperand) |
void |
initialize(CartTotalSum constraintAnnotation) |
protected boolean |
isLeftOperandSupported(BTGOperandModel leftOperand)
Checks if the given left operand is supported by this validator.
|
protected boolean |
isRightOperandSupported(BTGOperandModel rightOperand)
Checks if the given right operand is supported by this validator.
|
isValidpublic void initialize(CartTotalSum constraintAnnotation)
protected boolean isLeftOperandSupported(BTGOperandModel leftOperand)
AbstractExpressionValidatorisLeftOperandSupported in class AbstractExpressionValidator<CartTotalSum,Double>leftOperand - left operandtrue if the operand is supported, otherwise falseprotected boolean isRightOperandSupported(BTGOperandModel rightOperand)
AbstractExpressionValidatorisRightOperandSupported in class AbstractExpressionValidator<CartTotalSum,Double>rightOperand - right operandtrue if the operand is supported, otherwise falseprotected Double getMinimum()
getMinimum in class AbstractExpressionValidator<CartTotalSum,Double>protected Double getValue(BTGOperandModel rightOperand)
getValue in class AbstractExpressionValidator<CartTotalSum,Double>rightOperand - right operandCopyright © 2017 SAP SE. All Rights Reserved.