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