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 java.lang.Object
Facet bucket
-
-
Constructor Summary
Constructors Constructor Description FacetBucket()
ConstructorFacetBucket(java.lang.String value, long count)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getCount()
java.lang.String
getValue()
int
hashCode()
void
setCount(long count)
void
setValue(java.lang.String value)
java.lang.String
toString()
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Returns:
- the value
-
setValue
public void setValue(java.lang.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(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-