Package com.loop54.model.response
Class Facet
java.lang.Object
com.loop54.model.response.Facet
- Direct Known Subclasses:
DistinctFacet,RangeFacet
Base class containing facet information returned by the Loop54 e-commerce search engine.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
-
Constructor Details
-
Facet
public Facet()
-
-
Method Details
-
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
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.
-