Package org.jdbi.v3.core.enums
Class Enums
java.lang.Object
org.jdbi.v3.core.enums.Enums
- All Implemented Interfaces:
- JdbiConfig<Enums>
Configuration for behavior related to 
Enums.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a copy of this configuration object.Returns the default strategy to use for mapping and binding enums, in the absence of aEnumByNameorEnumByOrdinalqualifying annotation.setEnumStrategy(EnumStrategy enumStrategy) Sets the default strategy for mapping and binding enums.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.config.JdbiConfigsetRegistry
- 
Constructor Details- 
Enumspublic Enums()
 
- 
- 
Method Details- 
getDefaultStrategyReturns the default strategy to use for mapping and binding enums, in the absence of aEnumByNameorEnumByOrdinalqualifying annotation. The default default isEnumStrategy.BY_NAME.
- 
setEnumStrategySets the default strategy for mapping and binding enums.- Parameters:
- enumStrategy- the new strategy
- Returns:
- this Enums instance, for chaining
 
- 
createCopyDescription copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
- createCopyin interface- JdbiConfig<Enums>
- Returns:
- a copy of this configuration object.
 
 
-