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 Constructor Description FacetFieldBucket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<FacetFieldBucket>and()ModelAssertion<FacetFieldBucket>assertThat()intgetCount()java.lang.StringgetDisplay()java.lang.StringgetFilterQuery()java.lang.StringgetLabel()FacetFieldBucketonModel()voidsetCount(int count)voidsetDisplay(java.lang.String display)voidsetFilterQuery(java.lang.String filterQuery)voidsetLabel(java.lang.String label)
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getDisplay
public java.lang.String getDisplay()
-
setDisplay
public void setDisplay(java.lang.String display)
-
getCount
public int getCount()
-
setCount
public void setCount(int count)
-
getFilterQuery
public java.lang.String getFilterQuery()
-
setFilterQuery
public void setFilterQuery(java.lang.String filterQuery)
-
and
public ModelAssertion<FacetFieldBucket> and()
- Specified by:
andin interfaceIModelAssertion<FacetFieldBucket>
-
assertThat
public ModelAssertion<FacetFieldBucket> assertThat()
- Specified by:
assertThatin interfaceIModelAssertion<FacetFieldBucket>
-
onModel
public FacetFieldBucket onModel()
- Specified by:
onModelin interfaceIRestModel<FacetFieldBucket>
-
-