Interface EnumValueConverter<O extends Enum<O>,R>
-
- All Superinterfaces:
BasicValueConverter<O,R>
- All Known Implementing Classes:
NamedEnumValueConverter,OrdinalEnumValueConverter
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 converterintgetJdbcTypeCode()StringtoSqlLiteral(Object value)-
Methods inherited from interface org.hibernate.metamodel.model.convert.spi.BasicValueConverter
getCheckCondition, getRelationalJavaType, getSpecializedTypeDeclaration, toDomainValue, toRelationalValue
-
-
-
-
Method Detail
-
getDomainJavaType
EnumJavaType<O> getDomainJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaTypein interfaceBasicValueConverter<O extends Enum<O>,R>
-
getJdbcTypeCode
int getJdbcTypeCode()
-
-