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