Package com.hybris.merchandising.model
Class ProductFacet
java.lang.Object
com.hybris.merchandising.model.ProductFacet
Facet represents a Facet for a product.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Retrieves the ID of the facet.getName()Retrieves the name of the facet.Retrieves a list of values for the facet.voidSets the ID of the facet.voidSets the name of the facet.voidsetValues(List<FacetValue> values) Sets a list of values for the facet.
-
Constructor Details
-
ProductFacet
public ProductFacet()
-
-
Method Details
-
getId
Retrieves the ID of the facet.- Returns:
- a String representing the ID.
-
setId
Sets the ID of the facet.- Parameters:
id- the ID to set for the Facet.
-
getName
Retrieves the name of the facet.- Returns:
- a String representing the name.
-
setName
Sets the name of the facet.- Parameters:
name- a String representing the name.
-
getValues
Retrieves a list of values for the facet.- Returns:
- a List of
FacetValueobjects.
-
setValues
Sets a list of values for the facet.- Parameters:
values- a List ofFacetValueobjects.
-