Interface BusinessUnitSearchResult
public interface BusinessUnitSearchResult
BusinessUnitSearchResult
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitSearchResult businessUnitSearchResult = BusinessUnitSearchResult.builder()
.id("{id}")
.relevance(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitSearchResultbuilder(BusinessUnitSearchResult template) create builder for BusinessUnitSearchResult instancecopyDeep()static BusinessUnitSearchResultdeepCopy(BusinessUnitSearchResult template) factory method to create a deep copy of BusinessUnitSearchResult@NotNull StringgetId()idof the BusinessUnit matching the search query.@NotNull DoubleHow closely this customer matches the search query.static BusinessUnitSearchResultof()factory methodstatic BusinessUnitSearchResultof(BusinessUnitSearchResult template) factory method to create a shallow copy BusinessUnitSearchResultvoididof the BusinessUnit matching the search query.voidsetRelevance(Double relevance) How closely this customer matches the search query.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitSearchResult>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getId
idof the BusinessUnit matching the search query.- Returns:
- id
-
getRelevance
How closely this customer matches the search query.
- Returns:
- relevance
-
setId
idof the BusinessUnit matching the search query.- Parameters:
id- value to be set
-
setRelevance
How closely this customer matches the search query.
- Parameters:
relevance- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitSearchResult
-
of
factory method to create a shallow copy BusinessUnitSearchResult- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
BusinessUnitSearchResult copyDeep() -
deepCopy
factory method to create a deep copy of BusinessUnitSearchResult- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitSearchResult- Returns:
- builder
-
builder
create builder for BusinessUnitSearchResult instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitSearchResult
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
-