@Entity public class OfferItemCriteriaImpl extends Object implements OfferItemCriteria
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected String |
orderItemMatchRule |
protected Integer |
quantity |
static long |
serialVersionUID |
| Constructor and Description |
|---|
OfferItemCriteriaImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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 receiveQuantity)
The quantity for which a match must be found using the rule.
|
public static final long serialVersionUID
protected Long id
protected Integer quantity
protected String orderItemMatchRule
public Long getId()
QuantityBasedRulegetId in interface QuantityBasedRulepublic void setId(Long id)
QuantityBasedRulesetId in interface QuantityBasedRuleid - the primary key valuepublic Integer getQuantity()
QuantityBasedRulegetQuantity in interface QuantityBasedRulepublic void setQuantity(Integer receiveQuantity)
QuantityBasedRulesetQuantity in interface QuantityBasedRulereceiveQuantity - the quantity of matches requiredpublic String getMatchRule()
QuantityBasedRulegetMatchRule in interface QuantityBasedRulepublic void setMatchRule(String matchRule)
QuantityBasedRulesetMatchRule in interface QuantityBasedRulematchRule - the rule as an MVEL stringCopyright © 2017. All rights reserved.