Class FacetGroupFacet

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

public class FacetGroupFacet extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable, com.broadleafcommerce.data.tracking.core.sort.business.domain.Sorted, com.broadleafcommerce.data.tracking.core.ContextStateAware
Represents a link between a FacetGroup and a Facet.
Since:
2.1.0-GA
See Also:
  • Constructor Details

    • FacetGroupFacet

      public FacetGroupFacet()
  • Method Details

    • getId

      public String getId()
      The context ID of the facet group facet relationship.
      Returns:
      the context ID of the facet group facet relationship
    • getFacet

      public Facet getFacet()
      The facet in this relationship.
    • getFacetGroup

      public FacetGroup getFacetGroup()
      The facet 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
    • getSorted

      public Boolean getSorted()
      Whether the persistent counterpart to this FacetGroupFacet has a non-default value for Sortable.getSorting(), which determines order in admin list grids.
      Specified by:
      getSorted in interface com.broadleafcommerce.data.tracking.core.sort.business.domain.Sorted
      Returns:
      Whether the persistent counterpart to this FacetGroupFacet has a non-default value for Sortable.getSorting().
      See Also:
      • Sorted.getSorted()
      • Sortable
    • getSorting

      public String getSorting()
      Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting.
    • setId

      public void setId(String id)
      The context ID of the facet group facet relationship.
      Parameters:
      id - the context ID of the facet group facet relationship
    • setFacet

      public void setFacet(Facet facet)
      The facet in this relationship.
    • setFacetGroup

      public void setFacetGroup(FacetGroup facetGroup)
      The facet 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
    • setSorted

      public void setSorted(Boolean sorted)
      Whether the persistent counterpart to this FacetGroupFacet has a non-default value for Sortable.getSorting(), which determines order in admin list grids.
      Parameters:
      sorted - Whether the persistent counterpart to this FacetGroupFacet has a non-default value for Sortable.getSorting().
      See Also:
      • Sorted.getSorted()
      • Sortable
    • setSorting

      public void setSorting(String sorting)
      Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting.
    • 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