org.hibernate.type

Class PrimitiveType

Implemented Interfaces:
LiteralType, Serializable, Type
Known Direct 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

Method Summary

abstract Serializable
getDefaultValue()
abstract Class
getPrimitiveClass()
String
toString(Object value)

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

getDefaultValue

public abstract Serializable getDefaultValue()

getPrimitiveClass

public abstract Class getPrimitiveClass()

toString

public String toString(Object value)
Overrides:
toString in interface NullableType