当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
PrimitiveType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.type
Class PrimitiveType
java.lang.Object
net.sf.hibernate.type.AbstractType
net.sf.hibernate.type.NullableType
net.sf.hibernate.type.ImmutableType
net.sf.hibernate.type.PrimitiveType
- All Implemented Interfaces:
- LiteralType, Serializable, Type
- Direct Known Subclasses:
- BooleanType, ByteType, CharacterType, DoubleType, FloatType, IntegerType, LongType, ShortType
- public abstract class PrimitiveType
- extends ImmutableType
- implements LiteralType
Superclass of primitive / primitive wrapper types.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class net.sf.hibernate.type.NullableType |
deepCopy, fromString, fromStringValue, get, getColumnSpan, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, set, sqlType, sqlTypes, toString |
Methods inherited from class net.sf.hibernate.type.AbstractType |
assemble, disassemble, equals, hashCode, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isObjectType, isPersistentCollectionType, resolveIdentifier |
PrimitiveType
public PrimitiveType()
getPrimitiveClass
public abstract Class getPrimitiveClass()
equals
public boolean equals(Object x,
Object y)
- Description copied from interface:
Type
- Compare two instances of the class mapped by this type for persistence
"equality", ie. Equality of persistent state.
- Specified by:
equals
in interface Type
- Parameters:
x
- y
-
- Returns:
- boolean
toString
public String toString(Object value)
- Specified by:
toString
in class NullableType