Class Facet

java.lang.Object
com.loop54.model.response.Facet
Direct Known Subclasses:
DistinctFacet, RangeFacet

public abstract class Facet extends Object
Base class containing facet information returned by the Loop54 e-commerce search engine.
  • Field Details

  • Constructor Details

    • Facet

      public Facet()
  • Method Details

    • getName

      public String getName()
      The name of the facet (as set in the request). If name is not specified in the request parameter this will be the requested attributeName.
      Returns:
      The name of the facet.
    • getType

      public abstract FacetType getType()
      The type of the facet (as set in the request).
      Returns:
      Type of the facet.
    • hasValues

      public abstract boolean hasValues()
      Whether or not the facet have any options.
      Returns:
      Whether or not the facet have any options.