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 instancecopyDeep()static CustomFieldExpandedValuedeepCopy(CustomFieldExpandedValue template) factory method to create a deep copy of CustomFieldExpandedValue@NotNull @Valid LocalizedStringgetLabel()User-defined label of the Custom Field.@NotNull StringgetName()Name of the Custom Field.@NotNull ObjectgetValue()CustomFieldValue based on the FieldType.static CustomFieldExpandedValueof()factory methodstatic CustomFieldExpandedValueof(CustomFieldExpandedValue template) factory method to create a shallow copy CustomFieldExpandedValuevoidsetLabel(LocalizedString label) User-defined label of the Custom Field.voidName of the Custom Field.voidCustomFieldValue based on the FieldType.static com.fasterxml.jackson.core.type.TypeReference<CustomFieldExpandedValue>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor 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
-
copyDeep
CustomFieldExpandedValue copyDeep() -
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
-