Interface CustomFieldExpandedValue
public interface CustomFieldExpandedValue
Only present if expand
is set to true
.
Example to create an instance using the builder pattern
CustomFieldExpandedValue customFieldExpandedValue = CustomFieldExpandedValue.builder()
.name("{name}")
.label(labelBuilder -> labelBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomFieldExpandedValuebuilder
(CustomFieldExpandedValue template) create builder for CustomFieldExpandedValue instancestatic CustomFieldExpandedValue
deepCopy
(CustomFieldExpandedValue template) factory method to create a deep copy of CustomFieldExpandedValue@NotNull @Valid LocalizedString
getLabel()
User-defined label of the Custom Field.@NotNull String
getName()
Name of the Custom Field.@NotNull Object
getValue()
CustomFieldValue based on the FieldType.static CustomFieldExpandedValue
of()
factory methodstatic CustomFieldExpandedValue
of
(CustomFieldExpandedValue template) factory method to create a shallow copy CustomFieldExpandedValuevoid
setLabel
(LocalizedString label) User-defined label of the Custom Field.void
Name of the Custom Field.void
CustomFieldValue based on the FieldType.static com.fasterxml.jackson.core.type.TypeReference<CustomFieldExpandedValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getName
Name of the Custom Field.
- Returns:
- name
-
getValue
CustomFieldValue based on the FieldType.
- Returns:
- value
-
getLabel
User-defined label of the Custom Field.
- Returns:
- label
-
setName
Name of the Custom Field.
- Parameters:
name
- value to be set
-
setValue
CustomFieldValue based on the FieldType.
- Parameters:
value
- value to be set
-
setLabel
User-defined label of the Custom Field.
- Parameters:
label
- value to be set
-
of
factory method- Returns:
- instance of CustomFieldExpandedValue
-
of
factory method to create a shallow copy CustomFieldExpandedValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomFieldExpandedValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomFieldExpandedValue- Returns:
- builder
-
builder
create builder for CustomFieldExpandedValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomFieldExpandedValue
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
-