Interface Label
- All Known Subinterfaces:
AssociateRoleLabel
,BusinessUnitLabel
,CustomerLabel
,CustomObjectLabel
,LocalizedLabel
,OrderLabel
,PaymentLabel
,ProductLabel
,QuoteLabel
,QuoteRequestLabel
,ReviewLabel
,StagedQuoteLabel
,StringLabel
public interface Label
Provides descriptive information specific to the resource.
Example to create a subtype instance using the builder pattern
Label label = Label.associateRoleLabelBuilder()
key("{key}")
name("{name}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssociateRoleLabelBuilder
builder for associateRoleLabel subtypestatic BusinessUnitLabelBuilder
builder for businessUnitLabel subtypestatic CustomerLabelBuilder
builder for customerLabel subtypestatic CustomObjectLabelBuilder
builder for customObjectLabel subtypestatic Label
factory method to create a deep copy of Label@NotNull String
getType()
static LocalizedLabelBuilder
builder for localizedLabel subtypestatic OrderLabelBuilder
builder for orderLabel subtypestatic PaymentLabelBuilder
builder for paymentLabel subtypestatic ProductLabelBuilder
builder for productLabel subtypestatic QuoteLabelBuilder
builder for quoteLabel subtypestatic QuoteRequestLabelBuilder
builder for quoteRequestLabel subtypestatic ReviewLabelBuilder
builder for reviewLabel subtypestatic StagedQuoteLabelBuilder
builder for stagedQuoteLabel subtypestatic StringLabelBuilder
builder for stringLabel subtypestatic com.fasterxml.jackson.core.type.TypeReference<Label>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getType
- Returns:
- type
-
deepCopy
factory method to create a deep copy of Label- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
associateRoleLabelBuilder
builder for associateRoleLabel subtype- Returns:
- builder
-
businessUnitLabelBuilder
builder for businessUnitLabel subtype- Returns:
- builder
-
customObjectLabelBuilder
builder for customObjectLabel subtype- Returns:
- builder
-
customerLabelBuilder
builder for customerLabel subtype- Returns:
- builder
-
localizedLabelBuilder
builder for localizedLabel subtype- Returns:
- builder
-
orderLabelBuilder
builder for orderLabel subtype- Returns:
- builder
-
paymentLabelBuilder
builder for paymentLabel subtype- Returns:
- builder
-
productLabelBuilder
builder for productLabel subtype- Returns:
- builder
-
quoteLabelBuilder
builder for quoteLabel subtype- Returns:
- builder
-
quoteRequestLabelBuilder
builder for quoteRequestLabel subtype- Returns:
- builder
-
reviewLabelBuilder
builder for reviewLabel subtype- Returns:
- builder
-
stagedQuoteLabelBuilder
builder for stagedQuoteLabel subtype- Returns:
- builder
-
stringLabelBuilder
builder for stringLabel subtype- Returns:
- builder
-
withLabel
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
-