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 SearchExactValueBuilderbuilder()builder factory method for SearchExactValuestatic SearchExactValueBuilderbuilder(SearchExactValue template) create builder for SearchExactValue instancecopyDeep()static SearchExactValuedeepCopy(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 SearchExactValueof()factory methodstatic SearchExactValueof(SearchExactValue template) factory method to create a shallow copy SearchExactValuevoidsetCaseInsensitive(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 valuevoidset valuesvoidset valuesstatic com.fasterxml.jackson.core.type.TypeReference<SearchExactValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchExactValue(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
-
copyDeep
SearchExactValue copyDeep()- Specified by:
copyDeepin interfaceSearchQueryExpressionValue
-
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
-