Interface TextLineItemValue
public interface TextLineItemValue
TextLineItemValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TextLineItemValue textLineItemValue = TextLineItemValue.builder()
.id("{id}")
.name(nameBuilder -> nameBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic TextLineItemValueBuilderbuilder()builder factory method for TextLineItemValuestatic TextLineItemValueBuilderbuilder(TextLineItemValue template) create builder for TextLineItemValue instancecopyDeep()static TextLineItemValuedeepCopy(TextLineItemValue template) factory method to create a deep copy of TextLineItemValue@NotNull StringgetId()idof the TextLineItem.@NotNull @Valid LocalizedStringgetName()Name of the TextLineItem.static TextLineItemValueof()factory methodstatic TextLineItemValueof(TextLineItemValue template) factory method to create a shallow copy TextLineItemValuevoididof the TextLineItem.voidsetName(LocalizedString name) Name of the TextLineItem.static com.fasterxml.jackson.core.type.TypeReference<TextLineItemValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithTextLineItemValue(Function<TextLineItemValue, T> helper) accessor map function
-
Method Details
-
getId
idof the TextLineItem.- Returns:
- id
-
getName
Name of the TextLineItem.
- Returns:
- name
-
setId
idof the TextLineItem.- Parameters:
id- value to be set
-
setName
Name of the TextLineItem.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of TextLineItemValue
-
of
factory method to create a shallow copy TextLineItemValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
TextLineItemValue copyDeep() -
deepCopy
factory method to create a deep copy of TextLineItemValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TextLineItemValue- Returns:
- builder
-
builder
create builder for TextLineItemValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withTextLineItemValue
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
-