@Entity public class ContentTargetingItemCriteriaImpl extends Object implements ContentTargetingItemCriteria, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
| Modifier and Type | Field and Description |
|---|---|
protected ContentTargeter |
contentTargeter |
protected Long |
id |
protected String |
orderItemMatchRule |
protected Integer |
quantity |
static long |
serialVersionUID |
| Constructor and Description |
|---|
ContentTargetingItemCriteriaImpl() |
| Modifier and Type | Method and Description |
|---|---|
ContentTargetingItemCriteria |
cloneEntity()
Builds a copy of this item.
|
<G extends ContentTargetingItemCriteria> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) |
boolean |
equals(Object obj) |
ContentTargeter |
getContentTargeter()
Returns the associated
ContentTargeter |
Long |
getId() |
String |
getMatchRule() |
Integer |
getQuantity() |
int |
hashCode() |
void |
setContentTargeter(ContentTargeter contentTargeter)
Sets the parent
ContentTargeter |
void |
setId(Long id) |
void |
setMatchRule(String matchRule) |
void |
setQuantity(Integer receiveQuantity) |
public static final long serialVersionUID
protected Long id
protected Integer quantity
protected String orderItemMatchRule
protected ContentTargeter contentTargeter
public Long getId()
getId in interface org.broadleafcommerce.common.rule.QuantityBasedRulepublic void setId(Long id)
setId in interface org.broadleafcommerce.common.rule.QuantityBasedRulepublic Integer getQuantity()
getQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRulepublic void setQuantity(Integer receiveQuantity)
setQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRulepublic String getMatchRule()
getMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRulepublic void setMatchRule(String matchRule)
setMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRulepublic ContentTargeter getContentTargeter()
ContentTargetingItemCriteriaContentTargetergetContentTargeter in interface ContentTargetingItemCriteriapublic void setContentTargeter(ContentTargeter contentTargeter)
ContentTargetingItemCriteriaContentTargetersetContentTargeter in interface ContentTargetingItemCriteriapublic <G extends ContentTargetingItemCriteria> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingItemCriteria>CloneNotSupportedExceptionpublic ContentTargetingItemCriteria cloneEntity()
ContentTargetingItemCriteriacloneEntity in interface ContentTargetingItemCriteriaCopyright © 2020. All rights reserved.