org.hibernate.type

Class TrueFalseType

Implemented Interfaces:
DiscriminatorType, IdentifierType, Serializable, LiteralType, Serializable, Type

public class TrueFalseType
extends CharBooleanType

true_false: A type that maps an SQL CHAR(1) to a Java Boolean.
Author:
Gavin King

Method Summary

protected String
getFalseString()
String
getName()
Returns the abbreviated name of the type.
protected String
getTrueString()

Methods inherited from class org.hibernate.type.CharBooleanType

get, getFalseString, getTrueString, objectToSQLString, set, sqlType, stringToObject

Methods inherited from class org.hibernate.type.BooleanType

fromStringValue, get, getDefaultValue, getName, getPrimitiveClass, getReturnedClass, objectToSQLString, set, sqlType, stringToObject

Methods inherited from class org.hibernate.type.PrimitiveType

getDefaultValue, getPrimitiveClass, toString

Methods inherited from class org.hibernate.type.ImmutableType

deepCopy, isMutable, replace

Methods inherited from class org.hibernate.type.NullableType

fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, isDirty, isEqual, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, set, setToXMLNode, sqlType, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString

Methods inherited from class org.hibernate.type.AbstractType

assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve

Method Details

getFalseString

protected final String getFalseString()
Overrides:
getFalseString in interface CharBooleanType

getName

public String getName()
Returns the abbreviated name of the type.
Specified by:
getName in interface Type
Overrides:
getName in interface BooleanType
Returns:
String the Hibernate type name

getTrueString

protected final String getTrueString()
Overrides:
getTrueString in interface CharBooleanType