@Entity public class StructuredContentItemCriteriaImpl extends Object implements StructuredContentItemCriteria
Modifier and Type | Field and Description |
---|---|
protected Long |
id |
protected String |
orderItemMatchRule |
protected Integer |
quantity |
static long |
serialVersionUID |
protected StructuredContent |
structuredContent |
Constructor and Description |
---|
StructuredContentItemCriteriaImpl() |
Modifier and Type | Method and Description |
---|---|
StructuredContentItemCriteria |
cloneEntity()
Builds a copy of this item.
|
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.
|
StructuredContent |
getStructuredContent()
Returns the parent
StructuredContent item to which this
field belongs. |
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.
|
void |
setStructuredContent(StructuredContent structuredContent)
Sets the parent
StructuredContent item. |
public static final long serialVersionUID
protected Long id
protected Integer quantity
protected String orderItemMatchRule
protected StructuredContent structuredContent
public Long getId()
QuantityBasedRule
getId
in interface QuantityBasedRule
public void setId(Long id)
QuantityBasedRule
setId
in interface QuantityBasedRule
id
- the primary key valuepublic Integer getQuantity()
QuantityBasedRule
getQuantity
in interface QuantityBasedRule
public void setQuantity(Integer receiveQuantity)
QuantityBasedRule
setQuantity
in interface QuantityBasedRule
receiveQuantity
- the quantity of matches requiredpublic String getMatchRule()
QuantityBasedRule
getMatchRule
in interface QuantityBasedRule
public void setMatchRule(String matchRule)
QuantityBasedRule
setMatchRule
in interface QuantityBasedRule
matchRule
- the rule as an MVEL stringpublic StructuredContent getStructuredContent()
StructuredContentItemCriteria
StructuredContent
item to which this
field belongs.getStructuredContent
in interface StructuredContentItemCriteria
public void setStructuredContent(StructuredContent structuredContent)
StructuredContentItemCriteria
StructuredContent
item.setStructuredContent
in interface StructuredContentItemCriteria
public StructuredContentItemCriteria cloneEntity()
StructuredContentItemCriteria
cloneEntity
in interface StructuredContentItemCriteria
Copyright © 2014. All rights reserved.