Interface CustomFieldEnumValue
- All Superinterfaces:
- WithKey
Defines an allowed value of a CustomFieldEnumType field.
Example to create an instance using the builder pattern
     CustomFieldEnumValue customFieldEnumValue = CustomFieldEnumValue.builder()
             .key("{key}")
             .label("{label}")
             .build()
 - 
Method SummaryModifier and TypeMethodDescriptionstatic CustomFieldEnumValueBuilderbuilder()builder factory method for CustomFieldEnumValuestatic CustomFieldEnumValueBuilderbuilder(CustomFieldEnumValue template) create builder for CustomFieldEnumValue instancecopyDeep()static CustomFieldEnumValuedeepCopy(CustomFieldEnumValue template) factory method to create a deep copy of CustomFieldEnumValue@NotNull StringgetKey()Key of the value used as a programmatic identifier.@NotNull StringgetLabel()Descriptive label of the value.static CustomFieldEnumValueof()factory methodstatic CustomFieldEnumValueof(CustomFieldEnumValue template) factory method to create a shallow copy CustomFieldEnumValuevoidKey of the value used as a programmatic identifier.voidDescriptive label of the value.static com.fasterxml.jackson.core.type.TypeReference<CustomFieldEnumValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomFieldEnumValue(Function<CustomFieldEnumValue, T> helper) accessor map function
- 
Method Details- 
getKeyKey of the value used as a programmatic identifier. 
- 
getLabelDescriptive label of the value. - Returns:
- label
 
- 
setKeyKey of the value used as a programmatic identifier. - Parameters:
- key- value to be set
 
- 
setLabelDescriptive label of the value. - Parameters:
- label- value to be set
 
- 
offactory method- Returns:
- instance of CustomFieldEnumValue
 
- 
offactory method to create a shallow copy CustomFieldEnumValue- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
copyDeepCustomFieldEnumValue copyDeep()
- 
deepCopyfactory method to create a deep copy of CustomFieldEnumValue- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
builderbuilder factory method for CustomFieldEnumValue- Returns:
- builder
 
- 
buildercreate builder for CustomFieldEnumValue instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
- 
withCustomFieldEnumValueaccessor map function- Type Parameters:
- T- mapped type
- Parameters:
- helper- function to map the object
- Returns:
- mapped value
 
- 
typeReferencegives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
 
 
-