Class FacetTermImpl

java.lang.Object
com.commercetools.api.models.product.FacetTermImpl
All Implemented Interfaces:
FacetTerm, io.vrap.rmf.base.client.ModelBase

public class FacetTermImpl extends Object implements FacetTerm, io.vrap.rmf.base.client.ModelBase
FacetTerm
  • Constructor Details

    • FacetTermImpl

      public FacetTermImpl()
      create empty instance
  • Method Details

    • getTerm

      public Object getTerm()
      Specified by:
      getTerm in interface FacetTerm
      Returns:
      term
    • getCount

      public Long getCount()
      Specified by:
      getCount in interface FacetTerm
      Returns:
      count
    • getProductCount

      public Long getProductCount()
      Specified by:
      getProductCount in interface FacetTerm
      Returns:
      productCount
    • setTerm

      public void setTerm(Object term)
      Description copied from interface: FacetTerm
      set term
      Specified by:
      setTerm in interface FacetTerm
      Parameters:
      term - value to be set
    • setCount

      public void setCount(Long count)
      Description copied from interface: FacetTerm
      set count
      Specified by:
      setCount in interface FacetTerm
      Parameters:
      count - value to be set
    • setProductCount

      public void setProductCount(Long productCount)
      Description copied from interface: FacetTerm
      set productCount
      Specified by:
      setProductCount in interface FacetTerm
      Parameters:
      productCount - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object