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 TypeMethodDescriptionfloatgetScore()onModel()voidsetHighlight(List<ResponseHighlightModel> highlight) voidsetScore(float score) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Constructor Details
-
SearchScoreModel
public SearchScoreModel()
-
-
Method Details
-
getScore
public float getScore() -
setScore
public void setScore(float score) -
onModel
- Specified by:
onModelin interfaceIRestModel<SearchScoreModel>
-
getHighlight
-
setHighlight
-