java.lang.Object
is.codion.common.value.AbstractValue<T>
is.codion.common.property.PropertyValue<T>
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Observable<T>
,Observer<T>
,Value<T>
A Value associated with a named property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.common.value.Value
Value.Builder<T,
B extends Value.Builder<T, B>>, Value.BuilderFactory, Value.Notify, Value.Validator<T> -
Method Summary
Methods inherited from class is.codion.common.value.AbstractValue
addValidator, clear, createObservable, get, isNullable, link, link, map, notifyListeners, observable, observer, removeValidator, set, unlink, unlink, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface is.codion.common.observer.Observable
addConsumer, addListener, addWeakConsumer, addWeakListener, getOrThrow, isEqualTo, isNotEqualTo, isNull, optional, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
-
Method Details
-
name
- Returns:
- the name of the property this value represents
-
getOrThrow
- Returns:
- the value
-
remove
public void remove()Sets this value to null as well as removing it from the underlying store and clearing the system property. -
toString
-
getValue
Description copied from class:AbstractValue
Returns the actual internal value.- Specified by:
getValue
in classAbstractValue<T>
- Returns:
- the value
-
setValue
Description copied from class:AbstractValue
Sets the actual internal value.- Specified by:
setValue
in classAbstractValue<T>
- Parameters:
value
- the value
-