Interface ReviewLabel
- All Superinterfaces:
Label
ReviewLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewLabel reviewLabel = ReviewLabel.builder()
.key("{key}")
.title("{title}")
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewLabelBuilderbuilder()builder factory method for ReviewLabelstatic ReviewLabelBuilderbuilder(ReviewLabel template) create builder for ReviewLabel instancecopyDeep()static ReviewLabeldeepCopy(ReviewLabel template) factory method to create a deep copy of ReviewLabel@NotNull StringgetKey()User-defined unique identifier of the Review.@NotNull StringgetTitle()Title of the Review.@NotNull StringgetType()static ReviewLabelof()factory methodstatic ReviewLabelof(ReviewLabel template) factory method to create a shallow copy ReviewLabelvoidUser-defined unique identifier of the Review.voidTitle of the Review.static com.fasterxml.jackson.core.type.TypeReference<ReviewLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithReviewLabel(Function<ReviewLabel, T> helper) accessor map function
-
Field Details
-
REVIEW_LABEL
discriminator value for ReviewLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the Review.
- Returns:
- key
-
getTitle
Title of the Review.
- Returns:
- title
-
setKey
User-defined unique identifier of the Review.
- Parameters:
key- value to be set
-
setTitle
Title of the Review.
- Parameters:
title- value to be set
-
of
factory method- Returns:
- instance of ReviewLabel
-
of
factory method to create a shallow copy ReviewLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ReviewLabel copyDeep() -
deepCopy
factory method to create a deep copy of ReviewLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewLabel- Returns:
- builder
-
builder
create builder for ReviewLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withReviewLabel
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
-