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 AttributeReferenceBuilder
builder()
builder factory method for AttributeReferencestatic AttributeReferenceBuilder
builder
(AttributeReference template) create builder for AttributeReference instancestatic AttributeReference
deepCopy
(AttributeReference template) factory method to create a deep copy of AttributeReference@NotNull String
getKey()
The Attribute'sname
as given in its AttributeDefinition.static AttributeReference
of()
factory methodstatic AttributeReference
of
(AttributeReference template) factory method to create a shallow copy AttributeReferencevoid
The Attribute'sname
as given in its AttributeDefinition.static com.fasterxml.jackson.core.type.TypeReference<AttributeReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAttributeReference
(Function<AttributeReference, T> helper) accessor map function
-
Method Details
-
getKey
The Attribute's
name
as given in its AttributeDefinition. -
setKey
The Attribute's
name
as 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
-
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
-