T - Value typepublic interface Value<T>
extends com.holonplatform.core.Expression
Property.| Modifier and Type | Method and Description |
|---|---|
static <T> Value<T> |
create(T value)
Create a new
Value. |
static <T> Value<T> |
create(T value,
EnumCodecStrategy enumCodecStrategy)
Create a new
Value. |
static <T> Value<T> |
create(T value,
com.holonplatform.core.TypedExpression<T> expression)
Create a new
Value. |
static <T> Value<T> |
create(T value,
com.holonplatform.core.TypedExpression<T> expression,
EnumCodecStrategy enumCodecStrategy)
Create a new
Value. |
Optional<EnumCodecStrategy> |
getEnumCodecStrategy()
Get the
EnumCodecStrategy to use to encode/decode Enum type values. |
Optional<com.holonplatform.core.TypedExpression<T>> |
getExpression()
Get the
TypedExpression to which the value is bound, if any. |
T |
getValue()
Get the expression value.
|
T getValue()
Optional<EnumCodecStrategy> getEnumCodecStrategy()
EnumCodecStrategy to use to encode/decode Enum type values.Optional<com.holonplatform.core.TypedExpression<T>> getExpression()
TypedExpression to which the value is bound, if any.static <T> Value<T> create(T value)
Value.T - Value typevalue - The path valueValue instancestatic <T> Value<T> create(T value, com.holonplatform.core.TypedExpression<T> expression)
Value.T - Value typevalue - The path valueexpression - The expression to which the value is boundValue instancestatic <T> Value<T> create(T value, EnumCodecStrategy enumCodecStrategy)
Value.T - Value typevalue - The path valueenumCodecStrategy - The EnumCodecStrategy to useValue instancestatic <T> Value<T> create(T value, com.holonplatform.core.TypedExpression<T> expression, EnumCodecStrategy enumCodecStrategy)
Value.T - Value typevalue - The path valueexpression - The expression to which the value is boundenumCodecStrategy - The EnumCodecStrategy to useValue instanceCopyright © 2019 The Holon Platform. All rights reserved.