Interface UnresolvedReferences
public interface UnresolvedReferences
UnresolvedReferences
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
UnresolvedReferences unresolvedReferences = UnresolvedReferences.builder()
.key("{key}")
.typeId(ReferenceType.CART)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnresolvedReferencesBuilder
builder()
builder factory method for UnresolvedReferencesstatic UnresolvedReferencesBuilder
builder
(UnresolvedReferences template) create builder for UnresolvedReferences instancestatic UnresolvedReferences
deepCopy
(UnresolvedReferences template) factory method to create a deep copy of UnresolvedReferences@NotNull String
getKey()
@NotNull ReferenceType
The type of the referenced resource.static UnresolvedReferences
of()
factory methodstatic UnresolvedReferences
of
(UnresolvedReferences template) factory method to create a shallow copy UnresolvedReferencesvoid
set keyvoid
setTypeId
(ReferenceType typeId) The type of the referenced resource.static com.fasterxml.jackson.core.type.TypeReference<UnresolvedReferences>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withUnresolvedReferences
(Function<UnresolvedReferences, T> helper) accessor map function
-
Method Details
-
getKey
- Returns:
- key
-
getTypeId
The type of the referenced resource.
- Returns:
- typeId
-
setKey
set key- Parameters:
key
- value to be set
-
setTypeId
The type of the referenced resource.
- Parameters:
typeId
- value to be set
-
of
factory method- Returns:
- instance of UnresolvedReferences
-
of
factory method to create a shallow copy UnresolvedReferences- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of UnresolvedReferences- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for UnresolvedReferences- Returns:
- builder
-
builder
create builder for UnresolvedReferences instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withUnresolvedReferences
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
-