Class Facet.Count

    • Constructor Detail

      • Count

        public Count()
        Null/empty constructor.
      • Count

        public Count​(String name,
                     Long count)
        Full constructor.
        Parameters:
        name - or label of the category
        count - number of elements of this facet category
    • Method Detail

      • getCount

        public Long getCount()
        Number of occurrences of the category(name).
      • setCount

        public void setCount​(Long count)
        Sets the count of occurrences for this category.
      • getName

        public String getName()
        Name is the label/name/title used to distinguish this category in the list of counts. Each name should be unique in the list.
        Returns:
        the name or label of the category
      • setName

        public void setName​(String name)
        Sets the name value of the category/count.