站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

TrueFalseType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.type
Class TrueFalseType

java.lang.Object
  extended bynet.sf.hibernate.type.AbstractType
      extended bynet.sf.hibernate.type.NullableType
          extended bynet.sf.hibernate.type.ImmutableType
              extended bynet.sf.hibernate.type.PrimitiveType
                  extended bynet.sf.hibernate.type.BooleanType
                      extended bynet.sf.hibernate.type.CharBooleanType
                          extended bynet.sf.hibernate.type.TrueFalseType
All Implemented Interfaces:
DiscriminatorType, IdentifierType, 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
See Also:
Serialized Form

Constructor Summary
TrueFalseType()
           
 
Method Summary
protected  String getFalseString()
           
 String getName()
          Returns the abbreviated name of the type.
protected  String getTrueString()
           
 
Methods inherited from class net.sf.hibernate.type.CharBooleanType
get, objectToSQLString, set, sqlType, stringToObject
 
Methods inherited from class net.sf.hibernate.type.BooleanType
fromStringValue, getPrimitiveClass, getReturnedClass
 
Methods inherited from class net.sf.hibernate.type.PrimitiveType
equals, toString
 
Methods inherited from class net.sf.hibernate.type.ImmutableType
copy, deepCopyNotNull, hasNiceEquals, isMutable
 
Methods inherited from class net.sf.hibernate.type.NullableType
deepCopy, fromString, getColumnSpan, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, sqlTypes, toString
 
Methods inherited from class net.sf.hibernate.type.AbstractType
assemble, disassemble, equals, hashCode, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isObjectType, isPersistentCollectionType, resolveIdentifier
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.hibernate.type.Type
assemble, copy, deepCopy, disassemble, equals, fromString, getColumnSpan, hasNiceEquals, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isMutable, isObjectType, isPersistentCollectionType, nullSafeGet, nullSafeGet, nullSafeSet, resolveIdentifier, sqlTypes, toString
 

Constructor Detail

TrueFalseType

public TrueFalseType()
Method Detail

getTrueString

protected final String getTrueString()
Specified by:
getTrueString in class CharBooleanType

getFalseString

protected final String getFalseString()
Specified by:
getFalseString in class CharBooleanType

getName

public String getName()
Description copied from interface: Type
Returns the abbreviated name of the type.

Specified by:
getName in interface Type
Overrides:
getName in class BooleanType