Interface AttributeReference
- All Superinterfaces:
WithKey
AttributeReference
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeReference attributeReference = AttributeReference.builder()
.key("{key}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeReferenceBuilderbuilder()builder factory method for AttributeReferencestatic AttributeReferenceBuilderbuilder(AttributeReference template) create builder for AttributeReference instancecopyDeep()static AttributeReferencedeepCopy(AttributeReference template) factory method to create a deep copy of AttributeReference@NotNull StringgetKey()The Attribute'snameas given in its AttributeDefinition.static AttributeReferenceof()factory methodstatic AttributeReferenceof(AttributeReference template) factory method to create a shallow copy AttributeReferencevoidThe Attribute'snameas given in its AttributeDefinition.static com.fasterxml.jackson.core.type.TypeReference<AttributeReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithAttributeReference(Function<AttributeReference, T> helper) accessor map function
-
Method Details
-
getKey
The Attribute's
nameas given in its AttributeDefinition. -
setKey
The Attribute's
nameas given in its AttributeDefinition.- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of AttributeReference
-
of
factory method to create a shallow copy AttributeReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeReference copyDeep() -
deepCopy
factory method to create a deep copy of AttributeReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeReference- Returns:
- builder
-
builder
create builder for AttributeReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeReference
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
-