Interface FieldType
public interface FieldType
FieldType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
FieldType fieldType = FieldType.builder()
.name("{name}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldTypeBuilderbuilder()builder factory method for FieldTypestatic FieldTypeBuildercreate builder for FieldType instancecopyDeep()static FieldTypefactory method to create a deep copy of FieldType@NotNull StringgetName()static FieldTypeof()factory methodstatic FieldTypefactory method to create a shallow copy FieldTypevoidset namestatic com.fasterxml.jackson.core.type.TypeReference<FieldType>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithFieldType(Function<FieldType, 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 FieldType
-
of
factory method to create a shallow copy FieldType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
FieldType copyDeep() -
deepCopy
factory method to create a deep copy of FieldType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for FieldType- Returns:
- builder
-
builder
create builder for FieldType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withFieldType
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
-