| Modifier and Type | Method and Description |
|---|---|
B |
MongoDatastoreBuilder.enumCodecStrategy(EnumCodecStrategy enumCodecStrategy)
Set the default
EnumCodecStrategy to use when encoding and decoding Enum type values. |
| Modifier and Type | Method and Description |
|---|---|
EnumCodecStrategy |
MongoContext.getDefaultEnumCodecStrategy()
Get the default
EnumCodecStrategy. |
| Modifier and Type | Field and Description |
|---|---|
static com.holonplatform.core.config.ConfigProperty<EnumCodecStrategy> |
EnumCodecStrategy.CONFIG_PROPERTY
A configuration property which can be used to declare the enum codec strategy.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumCodecStrategy |
EnumCodecStrategy.getDefault()
Return the default
EnumCodecStrategy. |
static EnumCodecStrategy |
EnumCodecStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumCodecStrategy[] |
EnumCodecStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<EnumCodecStrategy> |
Value.getEnumCodecStrategy()
Get the
EnumCodecStrategy to use to encode/decode Enum type values. |
Optional<EnumCodecStrategy> |
FieldValue.getEnumCodecStrategy()
Get the
EnumCodecStrategy to use to encode/decode Enum type values. |
| Modifier and Type | Method and Description |
|---|---|
static FieldValue |
FieldValue.create(Object value,
EnumCodecStrategy enumCodecStrategy)
Create a new
FieldValue. |
static FieldValue |
FieldValue.create(Object value,
com.holonplatform.core.TypedExpression<?> expression,
EnumCodecStrategy enumCodecStrategy)
Create a new
FieldValue. |
static <T> Value<T> |
Value.create(T value,
EnumCodecStrategy enumCodecStrategy)
Create a new
Value. |
static <T> Value<T> |
Value.create(T value,
com.holonplatform.core.TypedExpression<T> expression,
EnumCodecStrategy enumCodecStrategy)
Create a new
Value. |
| Modifier and Type | Field and Description |
|---|---|
static com.holonplatform.core.config.ConfigProperty<EnumCodecStrategy> |
MongoDatastoreConfigProperties.ENUM_CODEC_STRATEGY
The default
EnumCodecStrategy to use when encoding and decoding enum type values. |
Copyright © 2019 The Holon Platform. All rights reserved.