Package fr.gouv.vitam.common.model

# Class FacetBucket

java.lang.Object
fr.gouv.vitam.common.model.FacetBucket

Direct Known Subclasses:
  `UnitPerOriginatingAgency`

public class FacetBucket extends Object
Facet bucket

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FacetBucket()`
  Constructor
  `FacetBucket(String value, long count)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `long`
  `getCount()`
  `String`
  `getValue()`
  `int`
  `hashCode()`
  `void`
  `setCount(long count)`
  `void`
  `setValue(String value)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## 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`