Interface AttributeType
public interface AttributeType
AttributeType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeType attributeType = AttributeType.builder()
.name("{name}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTypeBuilder
builder()
builder factory method for AttributeTypestatic AttributeTypeBuilder
builder
(AttributeType template) create builder for AttributeType instancestatic AttributeType
deepCopy
(AttributeType template) factory method to create a deep copy of AttributeType@NotNull String
getName()
static AttributeType
of()
factory methodstatic AttributeType
of
(AttributeType template) factory method to create a shallow copy AttributeTypevoid
set namestatic com.fasterxml.jackson.core.type.TypeReference<AttributeType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAttributeType
(Function<AttributeType, T> helper) accessor map function
-
Method Details
-
getName
- Returns:
- name
-
setName
set name- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of AttributeType
-
of
factory method to create a shallow copy AttributeType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AttributeType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeType- Returns:
- builder
-
builder
create builder for AttributeType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeType
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
-