Interface ErrorByExtension
public interface ErrorByExtension
ErrorByExtension
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ErrorByExtension errorByExtension = ErrorByExtension.builder()
.id("{id}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorByExtensionBuilder
builder()
builder factory method for ErrorByExtensionstatic ErrorByExtensionBuilder
builder
(ErrorByExtension template) create builder for ErrorByExtension instancestatic ErrorByExtension
deepCopy
(ErrorByExtension template) factory method to create a deep copy of ErrorByExtension@NotNull String
getId()
Unique identifier of the Extension.getKey()
User-defined unique identifier of the Extension.static ErrorByExtension
of()
factory methodstatic ErrorByExtension
of
(ErrorByExtension template) factory method to create a shallow copy ErrorByExtensionvoid
Unique identifier of the Extension.void
User-defined unique identifier of the Extension.static com.fasterxml.jackson.core.type.TypeReference<ErrorByExtension>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withErrorByExtension
(Function<ErrorByExtension, T> helper) accessor map function
-
Method Details
-
getId
Unique identifier of the Extension.
- Returns:
- id
-
getKey
String getKey()User-defined unique identifier of the Extension.
- Returns:
- key
-
setId
Unique identifier of the Extension.
- Parameters:
id
- value to be set
-
setKey
User-defined unique identifier of the Extension.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of ErrorByExtension
-
of
factory method to create a shallow copy ErrorByExtension- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ErrorByExtension- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ErrorByExtension- Returns:
- builder
-
builder
create builder for ErrorByExtension instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withErrorByExtension
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
-