@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()
ContentTargetingRulegetId in interface ContentTargetingRulepublic void setId(Long id)
ContentTargetingRulesetId in interface ContentTargetingRuleid - the new primary keypublic String getMatchRule()
getMatchRule in interface org.broadleafcommerce.common.rule.SimpleRulepublic void setMatchRule(String matchRule)
setMatchRule in interface org.broadleafcommerce.common.rule.SimpleRulepublic <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>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.