Package com.alfresco.content.models
Class SearchEntryHighlight
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class SearchEntryHighlight
-
-
Constructor Summary
Constructors Constructor Description SearchEntryHighlight(String field, List<String> snippets)
-
Method Summary
Modifier and Type Method Description final StringgetField()The field where a match occured (one of the fields defined on the request) final UnitsetField(@Json(name = "field") String field)The field where a match occured (one of the fields defined on the request) final List<String>getSnippets()Any number of snippets for the specified field highlighting the matching text final UnitsetSnippets(@Json(name = "snippets") List<String> snippets)Any number of snippets for the specified field highlighting the matching text -
-
Method Detail
-
getField
final String getField()
The field where a match occured (one of the fields defined on the request)
-
setField
final Unit setField(@Json(name = "field") String field)
The field where a match occured (one of the fields defined on the request)
-
getSnippets
final List<String> getSnippets()
Any number of snippets for the specified field highlighting the matching text
-
setSnippets
final Unit setSnippets(@Json(name = "snippets") List<String> snippets)
Any number of snippets for the specified field highlighting the matching text
-
-
-
-