Class SearchFacet
java.lang.Object
org.craftercms.studio.model.search.SearchFacet
Holds the data for a single facet
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanIndicates if the facet values are datesprotected booleanIndicates if the facet supports multiple valuesprotected StringThe label of the facetprotected booleanIndicates if the facet values are rangesThe values and counts of the facet -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
The label of the facet -
range
protected boolean rangeIndicates if the facet values are ranges -
date
protected boolean dateIndicates if the facet values are dates -
multiple
protected boolean multipleIndicates if the facet supports multiple values -
values
The values and counts of the facet
-
-
Constructor Details
-
SearchFacet
public SearchFacet()
-
-
Method Details
-
getName
-
setName
-
isRange
public boolean isRange() -
setRange
public void setRange(boolean range) -
isMultiple
public boolean isMultiple() -
setMultiple
public void setMultiple(boolean multiple) -
isDate
public boolean isDate() -
setDate
public void setDate(boolean date) -
getValues
-
setValues
-