public class DefaultCsSearchFacetValue extends Object implements CsSearchFacetValue
| Constructor and Description |
|---|
DefaultCsSearchFacetValue(CsSearchFacet facet,
String code) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CsSearchFacetValue other) |
boolean |
equals(Object other) |
String |
getCode()
The facet code
|
CsSearchFacet |
getFacet()
The facet that this value is a part of.
|
String |
getLabel()
The displayable label for this facet value
|
long |
getResultCount()
The number of search results.
|
int |
hashCode() |
void |
setLabel(String label) |
void |
setResultCount(long resultCount) |
public DefaultCsSearchFacetValue(CsSearchFacet facet, String code)
public CsSearchFacet getFacet()
CsSearchFacetValuegetFacet in interface CsSearchFacetValuepublic String getCode()
CsSearchFacetValuegetCode in interface CsSearchFacetValuepublic String getLabel()
CsSearchFacetValuegetLabel in interface CsSearchFacetValuepublic void setLabel(String label)
public long getResultCount()
CsSearchFacetValuegetResultCount in interface CsSearchFacetValuepublic void setResultCount(long resultCount)
public int compareTo(CsSearchFacetValue other)
compareTo in interface Comparable<CsSearchFacetValue>Copyright © 2017 SAP SE. All Rights Reserved.