public class DefaultCommerceFacetValue extends Object implements CommerceFacetValue, Comparable<DefaultCommerceFacetValue>
CommerceFacetValue.CommerceFacetValue| Constructor and Description |
|---|
DefaultCommerceFacetValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DefaultCommerceFacetValue that) |
String |
getDisplayName()
Get the display name of this value, as it should be presented to the user
|
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(String displayName) |
void |
setId(String id) |
void |
setProductCount(int productCount) |
void |
setSelected(boolean selected) |
public String getId()
getId in interface CommerceFacetValuepublic String getDisplayName()
getDisplayName in interface CommerceFacetValuepublic int getProductCount()
getProductCount in interface CommerceFacetValuepublic boolean isSelected()
isSelected in interface CommerceFacetValuepublic void setId(String id)
public void setDisplayName(String displayName)
public void setProductCount(int productCount)
public void setSelected(boolean selected)
public int compareTo(DefaultCommerceFacetValue that)
compareTo in interface Comparable<DefaultCommerceFacetValue>"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"