Interface AssetChangeValue
public interface AssetChangeValue
AssetChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssetChangeValue assetChangeValue = AssetChangeValue.builder()
.id("{id}")
.name(nameBuilder -> nameBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssetChangeValueBuilder
builder()
builder factory method for AssetChangeValuestatic AssetChangeValueBuilder
builder
(AssetChangeValue template) create builder for AssetChangeValue instancestatic AssetChangeValue
deepCopy
(AssetChangeValue template) factory method to create a deep copy of AssetChangeValue@NotNull String
getId()
id
of the Asset.@NotNull @Valid LocalizedString
getName()
Name of the Asset.static AssetChangeValue
of()
factory methodstatic AssetChangeValue
of
(AssetChangeValue template) factory method to create a shallow copy AssetChangeValuevoid
id
of the Asset.void
setName
(LocalizedString name) Name of the Asset.static com.fasterxml.jackson.core.type.TypeReference<AssetChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAssetChangeValue
(Function<AssetChangeValue, T> helper) accessor map function
-
Method Details
-
getId
id
of the Asset.- Returns:
- id
-
getName
Name of the Asset.
- Returns:
- name
-
setId
id
of the Asset.- Parameters:
id
- value to be set
-
setName
Name of the Asset.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of AssetChangeValue
-
of
factory method to create a shallow copy AssetChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AssetChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssetChangeValue- Returns:
- builder
-
builder
create builder for AssetChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssetChangeValue
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
-