Interface LocalizedLabel
- All Superinterfaces:
Label
LocalizedLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
LocalizedLabel localizedLabel = LocalizedLabel.builder()
.value(valueBuilder -> valueBuilder)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizedLabelBuilderbuilder()builder factory method for LocalizedLabelstatic LocalizedLabelBuilderbuilder(LocalizedLabel template) create builder for LocalizedLabel instancecopyDeep()static LocalizedLabeldeepCopy(LocalizedLabel template) factory method to create a deep copy of LocalizedLabel@NotNull StringgetType()@NotNull @Valid LocalizedStringgetValue()Changed value.static LocalizedLabelof()factory methodstatic LocalizedLabelof(LocalizedLabel template) factory method to create a shallow copy LocalizedLabelvoidsetValue(LocalizedString value) Changed value.static com.fasterxml.jackson.core.type.TypeReference<LocalizedLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithLocalizedLabel(Function<LocalizedLabel, T> helper) accessor map function
-
Field Details
-
LOCALIZED_LABEL
discriminator value for LocalizedLabel- See Also:
-
-
Method Details
-
getType
-
getValue
Changed value.
- Returns:
- value
-
setValue
Changed value.
- Parameters:
value- value to be set
-
of
factory method- Returns:
- instance of LocalizedLabel
-
of
factory method to create a shallow copy LocalizedLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
LocalizedLabel copyDeep() -
deepCopy
factory method to create a deep copy of LocalizedLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for LocalizedLabel- Returns:
- builder
-
builder
create builder for LocalizedLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withLocalizedLabel
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
-