public interface FieldValue
extends com.holonplatform.core.Expression
| Modifier and Type | Method and Description |
|---|---|
static FieldValue |
create(Object value)
Create a new
FieldValue. |
static FieldValue |
create(Object value,
EnumCodecStrategy enumCodecStrategy)
Create a new
FieldValue. |
static FieldValue |
create(Object value,
com.holonplatform.core.TypedExpression<?> expression)
Create a new
FieldValue. |
static FieldValue |
create(Object value,
com.holonplatform.core.TypedExpression<?> expression,
EnumCodecStrategy enumCodecStrategy)
Create a new
FieldValue. |
Optional<EnumCodecStrategy> |
getEnumCodecStrategy()
Get the
EnumCodecStrategy to use to encode/decode Enum type values. |
Optional<com.holonplatform.core.TypedExpression<?>> |
getExpression()
Get the
TypedExpression to which the field value is bound, if any. |
Object |
getValue()
Get the field value.
|
Object getValue()
Optional<EnumCodecStrategy> getEnumCodecStrategy()
EnumCodecStrategy to use to encode/decode Enum type values.Optional<com.holonplatform.core.TypedExpression<?>> getExpression()
TypedExpression to which the field value is bound, if any.static FieldValue create(Object value)
FieldValue.value - The field valueFieldValue instancestatic FieldValue create(Object value, com.holonplatform.core.TypedExpression<?> expression)
FieldValue.value - The field valueexpression - The expression to which the value is boundFieldValue instancestatic FieldValue create(Object value, EnumCodecStrategy enumCodecStrategy)
FieldValue.value - The field valueenumCodecStrategy - The EnumCodecStrategy to useFieldValue instancestatic FieldValue create(Object value, com.holonplatform.core.TypedExpression<?> expression, EnumCodecStrategy enumCodecStrategy)
FieldValue.value - The field valueexpression - The expression to which the value is boundenumCodecStrategy - The EnumCodecStrategy to useFieldValue instanceCopyright © 2019 The Holon Platform. All rights reserved.