Class ContentTargetingRuleImpl
java.lang.Object
com.broadleafcommerce.advancedcms.domain.targeting.ContentTargetingRuleImpl
- All Implemented Interfaces:
ContentTargetingRule,Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRule>,org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity,org.broadleafcommerce.common.rule.SimpleRule
@Entity
public class ContentTargetingRuleImpl
extends Object
implements ContentTargetingRule, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
- Author:
- bposlter
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends ContentTargetingRule>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) booleangetId()Gets the primary key.inthashCode()voidSets the primary key.voidsetMatchRule(String matchRule)
-
Field Details
-
id
-
matchRule
-
-
Constructor Details
-
ContentTargetingRuleImpl
public ContentTargetingRuleImpl()
-
-
Method Details
-
getId
Description copied from interface:ContentTargetingRuleGets the primary key.- Specified by:
getIdin interfaceContentTargetingRule- Returns:
- the primary key
-
setId
Description copied from interface:ContentTargetingRuleSets the primary key.- Specified by:
setIdin interfaceContentTargetingRule- Parameters:
id- the new primary key
-
getMatchRule
- Specified by:
getMatchRulein interfaceorg.broadleafcommerce.common.rule.SimpleRule
-
setMatchRule
- Specified by:
setMatchRulein interfaceorg.broadleafcommerce.common.rule.SimpleRule
-
createOrRetrieveCopyInstance
public <G extends ContentTargetingRule> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRule>- Throws:
CloneNotSupportedException
-
hashCode
public int hashCode() -
equals
-