Interface AttributeReferenceType
- All Superinterfaces:
AttributeType
AttributeReferenceType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeReferenceType attributeReferenceType = AttributeReferenceType.builder()
.referenceTypeId(ReferenceType.ASSOCIATE_ROLE)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AttributeReferenceTypebuilder(AttributeReferenceType template) create builder for AttributeReferenceType instancecopyDeep()static AttributeReferenceTypedeepCopy(AttributeReferenceType template) factory method to create a deep copy of AttributeReferenceType@NotNull ReferenceTypeType of referenced resource.static AttributeReferenceTypeof()factory methodstatic AttributeReferenceTypeof(AttributeReferenceType template) factory method to create a shallow copy AttributeReferenceTypevoidsetReferenceTypeId(ReferenceType referenceTypeId) Type of referenced resource.static com.fasterxml.jackson.core.type.TypeReference<AttributeReferenceType>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.importapi.models.producttypes.AttributeType
getName, withAttributeType
-
Field Details
-
REFERENCE
discriminator value for AttributeReferenceType- See Also:
-
-
Method Details
-
getReferenceTypeId
Type of referenced resource.
- Returns:
- referenceTypeId
-
setReferenceTypeId
Type of referenced resource.
- Parameters:
referenceTypeId- value to be set
-
of
factory method- Returns:
- instance of AttributeReferenceType
-
of
factory method to create a shallow copy AttributeReferenceType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeReferenceType copyDeep()- Specified by:
copyDeepin interfaceAttributeType
-
deepCopy
factory method to create a deep copy of AttributeReferenceType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeReferenceType- Returns:
- builder
-
builder
create builder for AttributeReferenceType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeReferenceType
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
-