java.lang.Object
com.broadleafcommerce.search.core.provider.jpa.domain.JpaFacet
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.CatalogTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.translation.domain.Translatable, Serializable

@Entity public class JpaFacet extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.CatalogTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.translation.domain.Translatable
See Also:
  • Constructor Details

    • JpaFacet

      public JpaFacet()
  • Method Details

    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • get_id

      public String get_id()
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
      Specified by:
      getContextId in interface com.broadleafcommerce.translation.domain.Translatable
    • getFieldDefinitionId

      public String getFieldDefinitionId()
    • getFieldIndexableType

      public String getFieldIndexableType()
    • getLabel

      public String getLabel()
    • getDisplayOrder

      public Integer getDisplayOrder()
    • isMultiSelect

      public boolean isMultiSelect()
    • isRanged

      public boolean isRanged()
    • getFacetRanges

      public List<com.broadleafcommerce.search.api.domain.FacetRange> getFacetRanges()
    • getFacetRule

      public String getFacetRule()
    • getVariantType

      public String getVariantType()
    • getAttributes

      public Map<String,Object> getAttributes()
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
    • set_id

      public void set_id(String _id)
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setFieldDefinitionId

      public void setFieldDefinitionId(String fieldDefinitionId)
    • setFieldIndexableType

      public void setFieldIndexableType(String fieldIndexableType)
    • setLabel

      public void setLabel(String label)
    • setDisplayOrder

      public void setDisplayOrder(Integer displayOrder)
    • setMultiSelect

      public void setMultiSelect(boolean multiSelect)
    • setRanged

      public void setRanged(boolean ranged)
    • setFacetRanges

      public void setFacetRanges(List<com.broadleafcommerce.search.api.domain.FacetRange> facetRanges)
    • setFacetRule

      public void setFacetRule(String facetRule)
    • setVariantType

      public void setVariantType(String variantType)
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
    • toString

      public String toString()
      Overrides:
      toString in class 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