Interface SearchAnyValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchAnyValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchAnyValue searchAnyValue = SearchAnyValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchAnyValueBuilderbuilder()builder factory method for SearchAnyValuestatic SearchAnyValueBuilderbuilder(SearchAnyValue template) create builder for SearchAnyValue instancecopyDeep()static SearchAnyValuedeepCopy(SearchAnyValue template) factory method to create a deep copy of SearchAnyValueString value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.@NotNull ObjectgetValue()static SearchAnyValueof()factory methodstatic SearchAnyValueof(SearchAnyValue template) factory method to create a shallow copy SearchAnyValuevoidsetCaseInsensitive(Boolean caseInsensitive) set caseInsensitivevoidsetLanguage(String language) String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.voidset valuestatic com.fasterxml.jackson.core.type.TypeReference<SearchAnyValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchAnyValue(Function<SearchAnyValue, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getValue
- Returns:
- value
-
getLanguage
String getLanguage()String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en,en-US,zh-Hans-SG.- Returns:
- language
-
getCaseInsensitive
Boolean getCaseInsensitive()- Returns:
- caseInsensitive
-
setValue
set value- Parameters:
value- value to be set
-
setLanguage
String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en,en-US,zh-Hans-SG.- Parameters:
language- value to be set
-
setCaseInsensitive
set caseInsensitive- Parameters:
caseInsensitive- value to be set
-
of
factory method- Returns:
- instance of SearchAnyValue
-
of
factory method to create a shallow copy SearchAnyValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchAnyValue copyDeep()- Specified by:
copyDeepin interfaceSearchQueryExpressionValue
-
deepCopy
factory method to create a deep copy of SearchAnyValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchAnyValue- Returns:
- builder
-
builder
create builder for SearchAnyValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchAnyValue
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-