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