Result
, Result.Facet
public static class Result.FacetRange extends Object implements Result, Result.Facet
Result.Ad, Result.Ads, Result.Attribute, Result.Category, Result.CategoryData, Result.CategoryList, Result.CategoryNode, Result.Completion, Result.Completions, Result.Correction, Result.Corrections, Result.Count, Result.Facet, Result.FacetList, Result.FacetRange, Result.Phrase, Result.Phrases, Result.Product, Result.Products, Result.ResultType, Result.Value, Result.Values, Result.Variant
Constructor | Description |
---|---|
FacetRange(String min,
String max,
String minSelected,
String maxSelected) |
|
FacetRange(String min,
String max,
String minSelected,
String maxSelected,
String attribute) |
Modifier and Type | Method | Description |
---|---|---|
String |
getAttribute() |
The attribute associated with the range.
|
String |
getMax() |
The maximum value for the attribute.
|
String |
getMaxSelected() |
The selected maximum value.
|
String |
getMin() |
The minimum value for the attribute.
|
String |
getMinSelected() |
The selected minimum value.
|
Result.ResultType |
getType() |
Get the result type of this result.
|
boolean |
isRange() |
Check if this facet is a range facet or a multi value facet.
|
public FacetRange(String min, String max, String minSelected, String maxSelected, String attribute)
public String getAttribute()
getAttribute
in interface Result.Facet
public String getMin()
public String getMax()
public String getMinSelected()
getMin()
.public String getMaxSelected()
getMax()
.public Result.ResultType getType()
Result
public boolean isRange()
Result.Facet
isRange
in interface Result.Facet
Copyright © 2021 Apptus Technologies AB. All rights reserved.