org.hibernate.type
Class PrimitiveType

java.lang.Object
  extended by org.hibernate.type.AbstractType
      extended by org.hibernate.type.NullableType
          extended by org.hibernate.type.ImmutableType
              extended by org.hibernate.type.PrimitiveType
All Implemented Interfaces:
java.io.Serializable, LiteralType, 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

Constructor Summary
PrimitiveType()
           
 
Method Summary
abstract  java.io.Serializable getDefaultValue()
           
abstract  java.lang.Class getPrimitiveClass()
           
 java.lang.String toString(java.lang.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, toXMLString
 
Methods inherited from class org.hibernate.type.AbstractType
assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve
 
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.LiteralType
objectToSQLString
 
Methods inherited from interface org.hibernate.type.Type
getName, getReturnedClass
 

Constructor Detail

PrimitiveType

public PrimitiveType()
Method Detail

getPrimitiveClass

public abstract java.lang.Class getPrimitiveClass()

toString

public java.lang.String toString(java.lang.Object value)
Specified by:
toString in class NullableType

getDefaultValue

public abstract java.io.Serializable getDefaultValue()


Copyright © 2008 Hibernate.org. All Rights Reserved.