Package fr.gouv.vitam.common.model
Class FacetResult
- java.lang.Object
-
- fr.gouv.vitam.common.model.FacetResult
-
public class FacetResult extends java.lang.Object
Facet Result
-
-
Constructor Summary
Constructors Constructor Description FacetResult()
ConstructorFacetResult(java.lang.String name, java.util.List<FacetBucket> buckets)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FacetBucket>
getBuckets()
java.lang.String
getName()
void
setBuckets(java.util.List<FacetBucket> buckets)
void
setName(java.lang.String name)
-
-
-
Constructor Detail
-
FacetResult
public FacetResult()
Constructor
-
FacetResult
public FacetResult(java.lang.String name, java.util.List<FacetBucket> buckets)
Constructor- Parameters:
name
- namebuckets
- list of buckets
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- the name
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
-
getBuckets
public java.util.List<FacetBucket> getBuckets()
- Returns:
- the buckets
-
setBuckets
public void setBuckets(java.util.List<FacetBucket> buckets)
- Parameters:
buckets
- the buckets to set
-
-