@Value.Immutable public abstract class CopyOnChangeValue<O,T> extends Object implements ChangeableValue<O,T>, HasHumanReadableLabel
| Constructor and Description |
|---|
CopyOnChangeValue() |
| Modifier and Type | Method and Description |
|---|---|
String |
asHumanReadable() |
O |
change(O instance,
T value) |
T |
get(O instance) |
abstract Id<O> |
id() |
static <O,T> ImmutableCopyOnChangeValue<O,T> |
of(Id<O> id,
CopyOnChangeProperty<O,T> property) |
protected abstract CopyOnChangeProperty<O,T> |
property() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnamed, ofType, relatedTo, unvalidatedasHumanReadable@Value.Parameter protected abstract CopyOnChangeProperty<O,T> property()
public String asHumanReadable()
asHumanReadable in interface HasHumanReadableLabelpublic static <O,T> ImmutableCopyOnChangeValue<O,T> of(Id<O> id, CopyOnChangeProperty<O,T> property)
Copyright © 2023. All rights reserved.