|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QuantityBasedRule
Represents a class containing an MVEL rule and an associated quantity.
| Method Summary | |
|---|---|
Long |
getId()
The primary key value for this rule object |
String |
getMatchRule()
The rule in the form of an MVEL expression |
Integer |
getQuantity()
The quantity for which a match must be found using the rule. |
void |
setId(Long id)
The primary key value for this rule object |
void |
setMatchRule(String matchRule)
Sets the match rule used to test this item. |
void |
setQuantity(Integer quantity)
The quantity for which a match must be found using the rule. |
| Method Detail |
|---|
Integer getQuantity()
void setQuantity(Integer quantity)
quantity - the quantity of matches requiredString getMatchRule()
void setMatchRule(String matchRule)
matchRule - the rule as an MVEL stringLong getId()
void setId(Long id)
id - the primary key value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||