Class FacetBucket

java.lang.Object
fr.gouv.vitam.common.model.FacetBucket
Direct Known Subclasses:
UnitPerOriginatingAgency

public class FacetBucket extends Object
Facet bucket
  • Constructor Details

    • FacetBucket

      public FacetBucket()
      Constructor
    • FacetBucket

      public FacetBucket(String value, long count)
      Constructor
      Parameters:
      value - value
      count - number of documents
  • Method Details

    • getValue

      public String getValue()
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
    • getCount

      public long getCount()
      Returns:
      the count
    • setCount

      public void setCount(long count)
      Parameters:
      count - the count to 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