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