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 classCharBooleanConverterextendsObjectimplementsStandardBooleanConverter<Character>
Constructor Summary
Constructors Constructor Description CharBooleanConverter()
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CharacterconvertToDatabaseColumn(Boolean attribute)BooleanconvertToEntityAttribute(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 abstractString[]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:
convertToDatabaseColumnin interfaceAttributeConverter<Boolean,Character>
convertToEntityAttribute
public Boolean convertToEntityAttribute(Character dbData)
- Specified by:
convertToEntityAttributein interfaceAttributeConverter<Boolean,Character>
getDomainJavaType
public JavaType<Boolean> getDomainJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaTypein interfaceBasicValueConverter<Boolean,Character>
getRelationalJavaType
public JavaType<Character> getRelationalJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaTypein interfaceBasicValueConverter<Boolean,Character>
getValues
protected abstract String[] getValues()