|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.MutableType
org.hibernate.type.AbstractBynaryType
org.hibernate.type.BinaryType
public class BinaryType
binary: A type that maps an SQL VARBINARY to a Java byte[].
| Constructor Summary | |
|---|---|
BinaryType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the abbreviated name of the type. |
java.lang.Class |
getReturnedClass()
The class returned by nullSafeGet() methods. |
protected java.lang.Object |
toExternalFormat(byte[] bytes)
Convert the byte[] into the expected object type |
protected byte[] |
toInternalFormat(java.lang.Object bytes)
Convert the object into the internal byte[] representation |
| Methods inherited from class org.hibernate.type.AbstractBynaryType |
|---|
compare, compare, deepCopyNotNull, fromStringValue, get, getComparator, getHashCode, isEqual, next, seed, set, sqlType, 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 |
|---|
public BinaryType()
| Method Detail |
|---|
protected java.lang.Object toExternalFormat(byte[] bytes)
AbstractBynaryType
toExternalFormat in class AbstractBynaryTypeprotected byte[] toInternalFormat(java.lang.Object bytes)
AbstractBynaryType
toInternalFormat in class AbstractBynaryTypepublic java.lang.Class getReturnedClass()
Type
public java.lang.String getName()
Type
getName in interface TypegetName in class AbstractBynaryType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||