Interface EnumValueConverter<O extends Enum<O>,R>
-
- All Superinterfaces:
BasicValueConverter<O,R>
- All Known Implementing Classes:
NamedEnumValueConverter
,OrdinalEnumValueConverter
@Incubating public interface EnumValueConverter<O extends Enum<O>,R> extends BasicValueConverter<O,R>
BasicValueConverter
extension for enum-specific support
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnumJavaType<O>
getDomainJavaType()
Descriptor for the Java type for the domain portion of this converterint
getJdbcTypeCode()
String
toSqlLiteral(Object value)
-
Methods inherited from interface org.hibernate.type.descriptor.converter.spi.BasicValueConverter
getCheckCondition, getRelationalJavaType, getSpecializedTypeDeclaration, toDomainValue, toRelationalValue
-
-
-
-
Method Detail
-
getDomainJavaType
EnumJavaType<O> getDomainJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaType
in interfaceBasicValueConverter<O extends Enum<O>,R>
-
getJdbcTypeCode
int getJdbcTypeCode()
-
-