Interface SearchExactValue

All Superinterfaces:
SearchQueryExpressionValue

public interface SearchExactValue extends SearchQueryExpressionValue
SearchExactValue
Example to create an instance using the builder pattern

     SearchExactValue searchExactValue = SearchExactValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getValue

      Object getValue()
      Returns:
      value
    • getValues

      List<Object> 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

      void setValue(Object value)
      set value
      Parameters:
      value - value to be set
    • setValues

      void setValues(Object... values)
      set values
      Parameters:
      values - values to be set
    • setValues

      void setValues(List<Object> values)
      set values
      Parameters:
      values - values to be set
    • setLanguage

      void setLanguage(String language)

      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

      void setCaseInsensitive(Boolean caseInsensitive)
      set caseInsensitive
      Parameters:
      caseInsensitive - value to be set
    • of

      static SearchExactValue of()
      factory method
      Returns:
      instance of SearchExactValue
    • of

      static SearchExactValue of(SearchExactValue template)
      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

      static SearchExactValueBuilder builder()
      builder factory method for SearchExactValue
      Returns:
      builder
    • builder

      static SearchExactValueBuilder builder(SearchExactValue template)
      create builder for SearchExactValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchExactValue

      default <T> T withSearchExactValue(Function<SearchExactValue,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<SearchExactValue> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference