@Entity public class ContentTargetingRuleImpl extends Object implements ContentTargetingRule, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Modifier and Type | Field and Description |
---|---|
protected Long |
id |
protected String |
matchRule |
Constructor and Description |
---|
ContentTargetingRuleImpl() |
Modifier and Type | Method and Description |
---|---|
<G extends ContentTargetingRule> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) |
boolean |
equals(Object obj) |
Long |
getId()
Gets the primary key.
|
String |
getMatchRule() |
int |
hashCode() |
void |
setId(Long id)
Sets the primary key.
|
void |
setMatchRule(String matchRule) |
public Long getId()
ContentTargetingRule
getId
in interface ContentTargetingRule
public void setId(Long id)
ContentTargetingRule
setId
in interface ContentTargetingRule
id
- the new primary keypublic String getMatchRule()
getMatchRule
in interface org.broadleafcommerce.common.rule.SimpleRule
public void setMatchRule(String matchRule)
setMatchRule
in interface org.broadleafcommerce.common.rule.SimpleRule
public <G extends ContentTargetingRule> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) throws CloneNotSupportedException
createOrRetrieveCopyInstance
in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRule>
CloneNotSupportedException
Copyright © 2020. All rights reserved.