Interface StringLabel
- All Superinterfaces:
Label
StringLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StringLabel stringLabel = StringLabel.builder()
.value("{value}")
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringLabelBuilderbuilder()builder factory method for StringLabelstatic StringLabelBuilderbuilder(StringLabel template) create builder for StringLabel instancecopyDeep()static StringLabeldeepCopy(StringLabel template) factory method to create a deep copy of StringLabel@NotNull StringgetType()@NotNull StringgetValue()Changed value.static StringLabelof()factory methodstatic StringLabelof(StringLabel template) factory method to create a shallow copy StringLabelvoidChanged value.static com.fasterxml.jackson.core.type.TypeReference<StringLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStringLabel(Function<StringLabel, T> helper) accessor map function
-
Field Details
-
STRING_LABEL
discriminator value for StringLabel- 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 StringLabel
-
of
factory method to create a shallow copy StringLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StringLabel copyDeep() -
deepCopy
factory method to create a deep copy of StringLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StringLabel- Returns:
- builder
-
builder
create builder for StringLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStringLabel
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
-