Uses of Enum
org.jdbi.v3.core.enums.EnumStrategy
Packages that use EnumStrategy
Package
Description
Utility classes used internally by Jdbi.
-
Uses of EnumStrategy in org.jdbi.v3.core.enums
Methods in org.jdbi.v3.core.enums that return EnumStrategyModifier and TypeMethodDescriptionEnums.getDefaultStrategy()
Returns the default strategy to use for mapping and binding enums, in the absence of aEnumByName
orEnumByOrdinal
qualifying annotation.static EnumStrategy
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.Methods in org.jdbi.v3.core.enums with parameters of type EnumStrategyModifier and TypeMethodDescriptionEnums.setEnumStrategy
(EnumStrategy enumStrategy) Sets the default strategy for mapping and binding enums. -
Uses of EnumStrategy in org.jdbi.v3.core.internal
Methods in org.jdbi.v3.core.internal that return EnumStrategyModifier and TypeMethodDescription<E extends Enum<E>>
EnumStrategyEnumStrategies.findStrategy
(QualifiedType<E> type) Determines which strategy is to be used for a givenQualifiedType
, falling back to reading strategy annotations on the source class and/or using the configured default.