public class DefaultCommerceFacetValue extends java.lang.Object implements CommerceFacetValue, java.lang.Comparable<DefaultCommerceFacetValue>
CommerceFacetValue.CommerceFacetValue| Constructor and Description |
|---|
DefaultCommerceFacetValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DefaultCommerceFacetValue that) |
java.lang.String |
getDisplayName()
Get the display name of this value, as it should be presented to the user
|
java.lang.String |
getId()
Get the identifier of this value (i.e.
|
int |
getProductCount()
Get the number of products that would be returned if this value was applied to the current query.
|
boolean |
isSelected()
Get whether this value is selected for the current facet
|
void |
setDisplayName(java.lang.String displayName) |
void |
setId(java.lang.String id) |
void |
setProductCount(int productCount) |
void |
setSelected(boolean selected) |
public java.lang.String getId()
getId in interface CommerceFacetValuepublic java.lang.String getDisplayName()
getDisplayName in interface CommerceFacetValuepublic int getProductCount()
getProductCount in interface CommerceFacetValuepublic boolean isSelected()
isSelected in interface CommerceFacetValuepublic void setId(java.lang.String id)
public void setDisplayName(java.lang.String displayName)
public void setProductCount(int productCount)
public void setSelected(boolean selected)
public int compareTo(DefaultCommerceFacetValue that)
compareTo in interface java.lang.Comparable<DefaultCommerceFacetValue>Copyright © 2010 - 2023 Adobe. All Rights Reserved