Package org.alfresco.rest.search
Class FacetFieldBucket
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.search.FacetFieldBucket
- All Implemented Interfaces:
IModelAssertion<FacetFieldBucket>,IRestModel<FacetFieldBucket>,org.alfresco.utility.model.Model
public class FacetFieldBucket
extends org.alfresco.utility.model.TestModel
implements IRestModel<FacetFieldBucket>
Pojo to represent facet field bucket response.
{"count":1,"label":"small"},
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand()intgetCount()getLabel()onModel()voidsetCount(int count) voidsetDisplay(String display) voidsetFilterQuery(String filterQuery) voidMethods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
FacetFieldBucket
public FacetFieldBucket()
-
-
Method Details
-
getLabel
-
setLabel
-
getDisplay
-
setDisplay
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
getFilterQuery
-
setFilterQuery
-
and
- Specified by:
andin interfaceIModelAssertion<FacetFieldBucket>
-
assertThat
- Specified by:
assertThatin interfaceIModelAssertion<FacetFieldBucket>
-
onModel
- Specified by:
onModelin interfaceIRestModel<FacetFieldBucket>
-