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 TextLineItemValueBuilder
builder()
builder factory method for TextLineItemValuestatic TextLineItemValueBuilder
builder
(TextLineItemValue template) create builder for TextLineItemValue instancestatic TextLineItemValue
deepCopy
(TextLineItemValue template) factory method to create a deep copy of TextLineItemValue@NotNull String
getId()
id
of the TextLineItem.@NotNull @Valid LocalizedString
getName()
Name of the TextLineItem.static TextLineItemValue
of()
factory methodstatic TextLineItemValue
of
(TextLineItemValue template) factory method to create a shallow copy TextLineItemValuevoid
id
of the TextLineItem.void
setName
(LocalizedString name) Name of the TextLineItem.static com.fasterxml.jackson.core.type.TypeReference<TextLineItemValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withTextLineItemValue
(Function<TextLineItemValue, T> helper) accessor map function
-
Method Details
-
getId
id
of the TextLineItem.- Returns:
- id
-
getName
Name of the TextLineItem.
- Returns:
- name
-
setId
id
of 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
-
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
-