Interface SuggestionResult
Deprecated.
SuggestionResult
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SuggestionResult suggestionResult = SuggestionResult.builder()
.plus/searchKeywords.[a-z]{2}(-[A-Z]{2})?/(/searchKeywords.[a-z]{2}(-[A-Z]{2})?/Builder -> /searchKeywords.[a-z]{2}(-[A-Z]{2})?/Builder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestionResultBuilderbuilder()Deprecated.builder factory method for SuggestionResultstatic SuggestionResultBuilderbuilder(SuggestionResult template) Deprecated.create builder for SuggestionResult instancecopyDeep()Deprecated.static SuggestionResultdeepCopy(SuggestionResult template) Deprecated.factory method to create a deep copy of SuggestionResultstatic SuggestionResultof()Deprecated.factory methodstatic SuggestionResultof(SuggestionResult template) Deprecated.factory method to create a shallow copy SuggestionResultvoidsetValue(String key, List<Suggestion> value) Deprecated.The result may contain multiple Suggestions identified by their Locale.static tools.jackson.core.type.TypeReference<SuggestionResult>Deprecated.gives a TypeReference for usage with Jackson DataBind@NotNull @Valid Map<String,List<Suggestion>> values()Deprecated.The result may contain multiple Suggestions identified by their Locale.default <T> TwithSuggestionResult(Function<SuggestionResult, T> helper) Deprecated.accessor map function
-
Method Details
-
values
Deprecated.The result may contain multiple Suggestions identified by their Locale. See Suggestions for two languages.
- Returns:
- map of the pattern property values
-
setValue
Deprecated.The result may contain multiple Suggestions identified by their Locale. See Suggestions for two languages.
- Parameters:
key- property namevalue- property value
-
of
Deprecated.factory method- Returns:
- instance of SuggestionResult
-
of
Deprecated.factory method to create a shallow copy SuggestionResult- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SuggestionResult copyDeep()Deprecated. -
deepCopy
Deprecated.factory method to create a deep copy of SuggestionResult- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
Deprecated.builder factory method for SuggestionResult- Returns:
- builder
-
builder
Deprecated.create builder for SuggestionResult instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSuggestionResult
Deprecated.accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
Deprecated.gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-