Class EnumValueConverter
- java.lang.Object
-
- org.hibernate.testing.orm.domain.gambit.EnumValueConverter
-
- All Implemented Interfaces:
AttributeConverter<EnumValue,String>
public class EnumValueConverter extends Object implements AttributeConverter<EnumValue,String>
-
-
Constructor Summary
Constructors Constructor Description EnumValueConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convertToDatabaseColumn(EnumValue domainValue)
EnumValue
convertToEntityAttribute(String dbData)
-
-
-
Method Detail
-
convertToDatabaseColumn
public String convertToDatabaseColumn(EnumValue domainValue)
- Specified by:
convertToDatabaseColumn
in interfaceAttributeConverter<EnumValue,String>
-
convertToEntityAttribute
public EnumValue convertToEntityAttribute(String dbData)
- Specified by:
convertToEntityAttribute
in interfaceAttributeConverter<EnumValue,String>
-
-