Package com.alfresco.content.models
Class GenericFacetResponse
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class GenericFacetResponse
-
-
Constructor Summary
Constructors Constructor Description GenericFacetResponse(String type, String label, List<GenericBucket> buckets)
-
Method Summary
Modifier and Type Method Description final StringgetType()The facet type, eg. final UnitsetType(@Json(name = "type") String type)The facet type, eg. final StringgetLabel()The field name or its explicit label, if provided on the request final UnitsetLabel(@Json(name = "label") String label)The field name or its explicit label, if provided on the request final List<GenericBucket>getBuckets()An array of buckets and values final UnitsetBuckets(@Json(name = "buckets") List<GenericBucket> buckets)An array of buckets and values -
-
Constructor Detail
-
GenericFacetResponse
GenericFacetResponse(String type, String label, List<GenericBucket> buckets)
-
-
Method Detail
-
setType
final Unit setType(@Json(name = "type") String type)
The facet type, eg. interval, range, pivot, stats
-
setLabel
final Unit setLabel(@Json(name = "label") String label)
The field name or its explicit label, if provided on the request
-
getBuckets
final List<GenericBucket> getBuckets()
An array of buckets and values
-
setBuckets
final Unit setBuckets(@Json(name = "buckets") List<GenericBucket> buckets)
An array of buckets and values
-
-
-
-