org.hibernate.type
Class CharBooleanType

java.lang.Object
  extended by org.hibernate.type.AbstractStandardBasicType<T>
      extended by org.hibernate.type.AbstractSingleColumnStandardBasicType<Boolean>
          extended by org.hibernate.type.BooleanType
              extended by org.hibernate.type.CharBooleanType
All Implemented Interfaces:
Serializable, BasicType, DiscriminatorType<Boolean>, IdentifierType<Boolean>, LiteralType<Boolean>, PrimitiveType<Boolean>, SingleColumnType<Boolean>, StringRepresentableType<Boolean>, Type, XmlRepresentableType<Boolean>

Deprecated. Use the AbstractStandardBasicType approach instead

public abstract class CharBooleanType
extends BooleanType

Superclass for types that map Java boolean to SQL CHAR(1).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.type.BooleanType
INSTANCE
 
Constructor Summary
protected CharBooleanType(char characterValueTrue, char characterValueFalse)
          Deprecated.  
 
Method Summary
protected  String getFalseString()
          Deprecated. Pass the true/false values into constructor instead.
protected  String getTrueString()
          Deprecated. Pass the true/false values into constructor instead.
 
Methods inherited from class org.hibernate.type.BooleanType
getDefaultValue, getName, getPrimitiveClass, getRegistrationKeys, objectToSQLString, stringToObject
 
Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSet, sqlType
 
Methods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString
 
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.PrimitiveType
toString
 
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString
 
Methods inherited from interface org.hibernate.type.SingleColumnType
fromStringValue, get, nullSafeGet, set, toString
 

Constructor Detail

CharBooleanType

protected CharBooleanType(char characterValueTrue,
                          char characterValueFalse)
Deprecated. 
Method Detail

getTrueString

protected final String getTrueString()
Deprecated. Pass the true/false values into constructor instead.


getFalseString

protected final String getFalseString()
Deprecated. Pass the true/false values into constructor instead.



Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.