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