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 Details

    • id

      protected Long id
    • matchRule

      protected String matchRule
  • Constructor Details

    • ContentTargetingRuleImpl

      public ContentTargetingRuleImpl()
  • Method Details

    • getId

      public Long getId()
      Description copied from interface: ContentTargetingRule
      Gets the primary key.
      Specified by:
      getId in interface ContentTargetingRule
      Returns:
      the primary key
    • setId

      public void setId(Long id)
      Description copied from interface: ContentTargetingRule
      Sets the primary key.
      Specified by:
      setId in interface ContentTargetingRule
      Parameters:
      id - the new primary key
    • getMatchRule

      public String getMatchRule()
      Specified by:
      getMatchRule in interface org.broadleafcommerce.common.rule.SimpleRule
    • setMatchRule

      public void setMatchRule(String matchRule)
      Specified by:
      setMatchRule in interface org.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:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRule>
      Throws:
      CloneNotSupportedException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object