public interface QuantityBasedRule
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getId()
The primary key value for this rule object
|
java.lang.String |
getMatchRule()
The rule in the form of an MVEL expression
|
java.lang.Integer |
getQuantity()
The quantity for which a match must be found using the rule.
|
void |
setId(java.lang.Long id)
The primary key value for this rule object
|
void |
setMatchRule(java.lang.String matchRule)
Sets the match rule used to test this item.
|
void |
setQuantity(java.lang.Integer quantity)
The quantity for which a match must be found using the rule.
|
java.lang.Integer getQuantity()
void setQuantity(java.lang.Integer quantity)
quantity - the quantity of matches requiredjava.lang.String getMatchRule()
void setMatchRule(java.lang.String matchRule)
matchRule - the rule as an MVEL stringjava.lang.Long getId()
void setId(java.lang.Long id)
id - the primary key valueCopyright © 2018. All Rights Reserved.