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 SearchAnyValueBuilder
builder()
builder factory method for SearchAnyValuestatic SearchAnyValueBuilder
builder
(SearchAnyValue template) create builder for SearchAnyValue instancestatic SearchAnyValue
deepCopy
(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 Object
getValue()
static SearchAnyValue
of()
factory methodstatic SearchAnyValue
of
(SearchAnyValue template) factory method to create a shallow copy SearchAnyValuevoid
setCaseInsensitive
(Boolean caseInsensitive) set caseInsensitivevoid
setLanguage
(String language) String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.void
set valuestatic com.fasterxml.jackson.core.type.TypeReference<SearchAnyValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchAnyValue
(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
-
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
-