Package org.alfresco.rest.search
Class SearchScoreModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.search.SearchScoreModel
- All Implemented Interfaces:
IModelAssertion<SearchScoreModel>,IRestModel<SearchScoreModel>,org.alfresco.utility.model.Model
public class SearchScoreModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<SearchScoreModel>
Object that represents the search score.
- Author:
- Michael Suzuki
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand()floatgetScore()onModel()voidsetHighlight(List<ResponseHighLightModel> highlight) voidsetScore(float score) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
SearchScoreModel
public SearchScoreModel()
-
-
Method Details
-
getScore
public float getScore() -
setScore
public void setScore(float score) -
and
- Specified by:
andin interfaceIModelAssertion<SearchScoreModel>
-
assertThat
- Specified by:
assertThatin interfaceIModelAssertion<SearchScoreModel>
-
onModel
- Specified by:
onModelin interfaceIRestModel<SearchScoreModel>
-
getHighlight
-
setHighlight
-