Class RelevancyRuleGroupRule

java.lang.Object
com.broadleafcommerce.search.api.domain.RelevancyRuleGroupRule
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable, com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable

public class RelevancyRuleGroupRule extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Represents a link between a RelevancyRuleGroup and a RelevancyRule.
Since:
Search Service 2.2.0, Release Train 2.2.0
See Also:
  • Constructor Details

    • RelevancyRuleGroupRule

      public RelevancyRuleGroupRule()
  • Method Details

    • getId

      public String getId()
      The context ID of the relevancy rule group relevancy rule relationship.
      Returns:
      the context ID of the relevancy rule group relevancy rule relationship
    • getRelevancyRule

      public RelevancyRule getRelevancyRule()
      The relevancy rule in this relationship.
    • getRelevancyRuleGroup

      public RelevancyRuleGroup getRelevancyRuleGroup()
      The relevancy rule group in this relationship
    • getOverrideChangeContainer

      public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer getOverrideChangeContainer()
      Specified by:
      getOverrideChangeContainer in interface com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Returns:
      a subset of Tracking information to expose the context state for this object
    • setId

      public void setId(String id)
      The context ID of the relevancy rule group relevancy rule relationship.
      Parameters:
      id - the context ID of the relevancy rule group relevancy rule relationship
    • setRelevancyRule

      public void setRelevancyRule(RelevancyRule relevancyRule)
      The relevancy rule in this relationship.
    • setRelevancyRuleGroup

      public void setRelevancyRuleGroup(RelevancyRuleGroup relevancyRuleGroup)
      The relevancy rule group in this relationship
    • setOverrideChangeContainer

      public void setOverrideChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer)
      Specified by:
      setOverrideChangeContainer in interface com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Parameters:
      contextState - a subset of Tracking information to expose the context state for this object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object