| Package | Description |
|---|---|
| org.jdbi.v3.core.enums | |
| org.jdbi.v3.core.internal |
Utility classes used internally by Jdbi.
|
| Modifier and Type | Method and Description |
|---|---|
EnumStrategy |
Enums.getDefaultStrategy()
Returns the default strategy to use for mapping and binding enums, in the absence of a
EnumByName or EnumByOrdinal qualifying annotation. |
static EnumStrategy |
EnumStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumStrategy[] |
EnumStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Enums |
Enums.setEnumStrategy(EnumStrategy strategy)
Sets the default strategy for mapping and binding enums.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Enum<E>> |
EnumStrategies.findStrategy(QualifiedType<E> type)
Determines which strategy is to be used for a given
QualifiedType, falling back to
reading strategy annotations on the source class and/or using the configured default. |
Copyright © 2019. All rights reserved.