Package org.hibernate.type
Class CharBooleanConverter
- java.lang.Object
-
- org.hibernate.type.CharBooleanConverter
-
- All Implemented Interfaces:
AttributeConverter<Boolean,Character>
,BasicValueConverter<Boolean,Character>
,StandardBooleanConverter<Character>
,StandardConverter<Boolean,Character>
- Direct Known Subclasses:
TrueFalseConverter
,YesNoConverter
public abstract class CharBooleanConverter extends Object implements StandardBooleanConverter<Character>
-
-
Constructor Summary
Constructors Constructor Description CharBooleanConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Character
convertToDatabaseColumn(Boolean attribute)
Boolean
convertToEntityAttribute(Character dbData)
JavaType<Boolean>
getDomainJavaType()
Descriptor for the Java type for the domain portion of this converterJavaType<Character>
getRelationalJavaType()
Descriptor for the Java type for the relational portion of this converterprotected abstract String[]
getValues()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.converter.spi.BasicValueConverter
toDomainValue, toRelationalValue
-
-
-
-
Method Detail
-
convertToDatabaseColumn
public Character convertToDatabaseColumn(Boolean attribute)
- Specified by:
convertToDatabaseColumn
in interfaceAttributeConverter<Boolean,Character>
-
convertToEntityAttribute
public Boolean convertToEntityAttribute(Character dbData)
- Specified by:
convertToEntityAttribute
in interfaceAttributeConverter<Boolean,Character>
-
getDomainJavaType
public JavaType<Boolean> getDomainJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaType
in interfaceBasicValueConverter<Boolean,Character>
-
getRelationalJavaType
public JavaType<Character> getRelationalJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaType
in interfaceBasicValueConverter<Boolean,Character>
-
getValues
protected abstract String[] getValues()
-
-