@Entity public class ContentTargetingRuleXrefImpl extends Object implements ContentTargetingRuleXref, org.broadleafcommerce.common.rule.SimpleRule, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Modifier and Type | Field and Description |
---|---|
protected ContentTargeter |
contentTargeter |
protected ContentTargetingRule |
contentTargetingRule |
protected Long |
id |
protected String |
key |
Constructor and Description |
---|
ContentTargetingRuleXrefImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
createEntityInstance() |
<G extends ContentTargetingRuleXref> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) |
ContentTargeter |
getContentTargeter()
Returns the associated
ContentTargeter |
ContentTargetingRule |
getContentTargetingRule()
Returns the associated
ContentTargetingRule |
Long |
getId()
Returns the id of this content targeting rule.
|
String |
getKey()
The key for this map element.
|
String |
getMatchRule() |
void |
setContentTargeter(ContentTargeter contentTargeter)
Sets the associated
ContentTargeter |
void |
setContentTargetingRule(ContentTargetingRule contentTargetingRule)
Sets the associated
ContentTargetingRule |
void |
setId(Long id)
Sets the id of this content targeting rule.
|
void |
setKey(String key)
Sets the key for this map element
|
void |
setMatchRule(String matchRule) |
protected Long id
protected ContentTargeter contentTargeter
protected ContentTargetingRule contentTargetingRule
protected String key
public Long getId()
ContentTargetingRuleXref
getId
in interface ContentTargetingRuleXref
public void setId(Long id)
ContentTargetingRuleXref
setId
in interface ContentTargetingRuleXref
public ContentTargeter getContentTargeter()
ContentTargetingRuleXref
ContentTargeter
getContentTargeter
in interface ContentTargetingRuleXref
public void setContentTargeter(ContentTargeter contentTargeter)
ContentTargetingRuleXref
ContentTargeter
setContentTargeter
in interface ContentTargetingRuleXref
public ContentTargetingRule getContentTargetingRule()
ContentTargetingRuleXref
ContentTargetingRule
getContentTargetingRule
in interface ContentTargetingRuleXref
public void setContentTargetingRule(ContentTargetingRule contentTargetingRule)
ContentTargetingRuleXref
ContentTargetingRule
setContentTargetingRule
in interface ContentTargetingRuleXref
public String getKey()
ContentTargetingRuleXref
getKey
in interface ContentTargetingRuleXref
public void setKey(String key)
ContentTargetingRuleXref
setKey
in interface ContentTargetingRuleXref
@Nonnull public String getMatchRule()
getMatchRule
in interface org.broadleafcommerce.common.rule.SimpleRule
public void setMatchRule(@Nonnull String matchRule)
setMatchRule
in interface org.broadleafcommerce.common.rule.SimpleRule
protected void createEntityInstance()
public <G extends ContentTargetingRuleXref> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) throws CloneNotSupportedException
createOrRetrieveCopyInstance
in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRuleXref>
CloneNotSupportedException
Copyright © 2020. All rights reserved.