public class QuantityOfProductInCartValidator extends AbstractExpressionValidator<QuantityOfProductInCart,Integer>
QuantityOfProductInCart| Constructor and Description |
|---|
QuantityOfProductInCartValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
getMinimum() |
protected Integer |
getValue(BTGOperandModel rightOperand) |
void |
initialize(QuantityOfProductInCart 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(QuantityOfProductInCart constraintAnnotation)
protected boolean isLeftOperandSupported(BTGOperandModel leftOperand)
AbstractExpressionValidatorisLeftOperandSupported in class AbstractExpressionValidator<QuantityOfProductInCart,Integer>leftOperand - left operandtrue if the operand is supported, otherwise falseprotected boolean isRightOperandSupported(BTGOperandModel rightOperand)
AbstractExpressionValidatorisRightOperandSupported in class AbstractExpressionValidator<QuantityOfProductInCart,Integer>rightOperand - right operandtrue if the operand is supported, otherwise falseprotected Integer getMinimum()
getMinimum in class AbstractExpressionValidator<QuantityOfProductInCart,Integer>protected Integer getValue(BTGOperandModel rightOperand)
getValue in class AbstractExpressionValidator<QuantityOfProductInCart,Integer>rightOperand - right operandCopyright © 2017 SAP SE. All Rights Reserved.