Package com.hybris.merchandising.model
Class ProductFacet
- java.lang.Object
-
- com.hybris.merchandising.model.ProductFacet
-
public class ProductFacet extends java.lang.ObjectFacet represents a Facet for a product.
-
-
Constructor Summary
Constructors Constructor Description ProductFacet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Retrieves the ID of the facet.java.lang.StringgetName()Retrieves the name of the facet.java.util.List<FacetValue>getValues()Retrieves a list of values for the facet.voidsetId(java.lang.String id)Sets the ID of the facet.voidsetName(java.lang.String name)Sets the name of the facet.voidsetValues(java.util.List<FacetValue> values)Sets a list of values for the facet.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Retrieves the ID of the facet.- Returns:
- a String representing the ID.
-
setId
public void setId(java.lang.String id)
Sets the ID of the facet.- Parameters:
id- the ID to set for the Facet.
-
getName
public java.lang.String getName()
Retrieves the name of the facet.- Returns:
- a String representing the name.
-
setName
public void setName(java.lang.String name)
Sets the name of the facet.- Parameters:
name- a String representing the name.
-
getValues
public java.util.List<FacetValue> getValues()
Retrieves a list of values for the facet.- Returns:
- a List of
FacetValueobjects.
-
setValues
public void setValues(java.util.List<FacetValue> values)
Sets a list of values for the facet.- Parameters:
values- a List ofFacetValueobjects.
-
-