当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
YesNoType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.type
Class YesNoType
java.lang.Object
net.sf.hibernate.type.AbstractType
net.sf.hibernate.type.NullableType
net.sf.hibernate.type.ImmutableType
net.sf.hibernate.type.PrimitiveType
net.sf.hibernate.type.BooleanType
net.sf.hibernate.type.CharBooleanType
net.sf.hibernate.type.YesNoType
- All Implemented Interfaces:
- DiscriminatorType, IdentifierType, LiteralType, Serializable, Type
- public class YesNoType
- extends CharBooleanType
yes_no: A type that maps an SQL CHAR(1) to a Java Boolean.
- Author:
- Gavin King
- See Also:
- Serialized Form
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 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 |
YesNoType
public YesNoType()
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