org.jboss.portal.cms.hibernate
Class MaterializedBlobType

java.lang.Object
  extended by org.hibernate.type.AbstractType
      extended by org.hibernate.type.NullableType
          extended by org.hibernate.type.MutableType
              extended by org.hibernate.type.AbstractBynaryType
                  extended by org.jboss.portal.cms.hibernate.MaterializedBlobType
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator, org.hibernate.type.Type, org.hibernate.type.VersionType

public class MaterializedBlobType
extends org.hibernate.type.AbstractBynaryType

Version:
$Revision$
Author:
Thomas Heute
See Also:
Serialized Form

Constructor Summary
MaterializedBlobType()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Class getReturnedClass()
           
 int sqlType()
           
protected  java.lang.Object toExternalFormat(byte[] bytes)
           
protected  byte[] toInternalFormat(java.lang.Object bytes)
           
 
Methods inherited from class org.hibernate.type.AbstractBynaryType
compare, compare, deepCopyNotNull, fromStringValue, get, getComparator, getHashCode, isEqual, next, seed, set, toString
 
Methods inherited from class org.hibernate.type.MutableType
deepCopy, isMutable, replace
 
Methods inherited from class org.hibernate.type.NullableType
fromXMLNode, fromXMLString, getColumnSpan, isDirty, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString
 
Methods inherited from class org.hibernate.type.AbstractType
assemble, beforeAssemble, disassemble, 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.Type
assemble, beforeAssemble, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

MaterializedBlobType

public MaterializedBlobType()
Method Detail

sqlType

public int sqlType()
Overrides:
sqlType in class org.hibernate.type.AbstractBynaryType

getName

public java.lang.String getName()
Specified by:
getName in interface org.hibernate.type.Type
Specified by:
getName in class org.hibernate.type.AbstractBynaryType

getReturnedClass

public java.lang.Class getReturnedClass()

toExternalFormat

protected java.lang.Object toExternalFormat(byte[] bytes)
Specified by:
toExternalFormat in class org.hibernate.type.AbstractBynaryType

toInternalFormat

protected byte[] toInternalFormat(java.lang.Object bytes)
Specified by:
toInternalFormat in class org.hibernate.type.AbstractBynaryType