Class ProductFacet


  • public class ProductFacet
    extends java.lang.Object
    Facet 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.String getId()
      Retrieves the ID of the facet.
      java.lang.String getName()
      Retrieves the name of the facet.
      java.util.List<FacetValue> getValues()
      Retrieves a list of values for the facet.
      void setId​(java.lang.String id)
      Sets the ID of the facet.
      void setName​(java.lang.String name)
      Sets the name of the facet.
      void setValues​(java.util.List<FacetValue> values)
      Sets a list of values for the facet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProductFacet

        public ProductFacet()
    • 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 FacetValue objects.
      • setValues

        public void setValues​(java.util.List<FacetValue> values)
        Sets a list of values for the facet.
        Parameters:
        values - a List of FacetValue objects.