Package org.alfresco.search.model
Class SearchEntryHighlight
- java.lang.Object
-
- org.alfresco.search.model.SearchEntryHighlight
-
@Validated public class SearchEntryHighlight extends Object
SearchEntryHighlight
-
-
Constructor Summary
Constructors Constructor Description SearchEntryHighlight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchEntryHighlightaddSnippetsItem(String snippetsItem)booleanequals(Object o)SearchEntryHighlightfield(String field)StringgetField()The field where a match occured (one of the fields defined on the request)List<String>getSnippets()Any number of snippets for the specified field highlighting the matching textinthashCode()voidsetField(String field)voidsetSnippets(List<String> snippets)SearchEntryHighlightsnippets(List<String> snippets)StringtoString()
-
-
-
Method Detail
-
field
public SearchEntryHighlight field(String field)
-
getField
public String getField()
The field where a match occured (one of the fields defined on the request)- Returns:
- field
-
setField
public void setField(String field)
-
snippets
public SearchEntryHighlight snippets(List<String> snippets)
-
addSnippetsItem
public SearchEntryHighlight addSnippetsItem(String snippetsItem)
-
getSnippets
public List<String> getSnippets()
Any number of snippets for the specified field highlighting the matching text- Returns:
- snippets
-
-