@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.QuantityBasedRule
public void setId(Long id)
setId
in interface org.broadleafcommerce.common.rule.QuantityBasedRule
public Integer getQuantity()
getQuantity
in interface org.broadleafcommerce.common.rule.QuantityBasedRule
public void setQuantity(Integer receiveQuantity)
setQuantity
in interface org.broadleafcommerce.common.rule.QuantityBasedRule
public String getMatchRule()
getMatchRule
in interface org.broadleafcommerce.common.rule.QuantityBasedRule
public void setMatchRule(String matchRule)
setMatchRule
in interface org.broadleafcommerce.common.rule.QuantityBasedRule
public ContentTargeter getContentTargeter()
ContentTargetingItemCriteria
ContentTargeter
getContentTargeter
in interface ContentTargetingItemCriteria
public void setContentTargeter(ContentTargeter contentTargeter)
ContentTargetingItemCriteria
ContentTargeter
setContentTargeter
in interface ContentTargetingItemCriteria
public <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>
CloneNotSupportedException
public ContentTargetingItemCriteria cloneEntity()
ContentTargetingItemCriteria
cloneEntity
in interface ContentTargetingItemCriteria
Copyright © 2020. All rights reserved.