Interface SearchExactValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchExactValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchExactValue searchExactValue = SearchExactValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchExactValueBuilder
builder()
builder factory method for SearchExactValuestatic SearchExactValueBuilder
builder
(SearchExactValue template) create builder for SearchExactValue instancestatic SearchExactValue
deepCopy
(SearchExactValue template) factory method to create a deep copy of SearchExactValueString value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.getValue()
static SearchExactValue
of()
factory methodstatic SearchExactValue
of
(SearchExactValue template) factory method to create a shallow copy SearchExactValuevoid
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 valuevoid
set valuesvoid
set valuesstatic com.fasterxml.jackson.core.type.TypeReference<SearchExactValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchExactValue
(Function<SearchExactValue, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getValue
Object getValue()- Returns:
- value
-
getValues
- Returns:
- values
-
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
-
setValues
set values- Parameters:
values
- values to be set
-
setValues
set values- Parameters:
values
- values 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 SearchExactValue
-
of
factory method to create a shallow copy SearchExactValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchExactValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchExactValue- Returns:
- builder
-
builder
create builder for SearchExactValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchExactValue
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
-