|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<byte[]>
org.hibernate.type.BinaryType
public class BinaryType
A type that maps between a VARBINARY and byte[]
| Field Summary | |
|---|---|
static BinaryType |
INSTANCE
|
| Constructor Summary | |
|---|---|
BinaryType()
|
|
| Method Summary | |
|---|---|
java.util.Comparator<byte[]> |
getComparator()
Get a comparator for version values. |
java.lang.String |
getName()
Returns the abbreviated name of the type. |
java.lang.String[] |
getRegistrationKeys()
Get the names under which this type should be registered in the type registry. |
byte[] |
next(byte[] current,
SessionImplementor session)
Increment the version. |
byte[] |
seed(SessionImplementor session)
Generate an initial version. |
| Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType |
|---|
get, nullSafeGet, nullSafeSet, nullSafeSet, set, sqlType |
| 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.VersionType |
|---|
isEqual |
| Methods inherited from interface org.hibernate.type.Type |
|---|
assemble, beforeAssemble, compare, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, 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 org.hibernate.type.SingleColumnType |
|---|
fromStringValue, get, nullSafeGet, set, toString |
| Field Detail |
|---|
public static final BinaryType INSTANCE
| Constructor Detail |
|---|
public BinaryType()
| Method Detail |
|---|
public java.lang.String getName()
Type
getName in interface Typepublic java.lang.String[] getRegistrationKeys()
BasicType
getRegistrationKeys in interface BasicTypegetRegistrationKeys in class AbstractStandardBasicType<byte[]>public byte[] seed(SessionImplementor session)
seed in interface VersionType<byte[]>session - The session from which this request originates.
public byte[] next(byte[] current,
SessionImplementor session)
next in interface VersionType<byte[]>current - the current versionsession - The session from which this request originates.
public java.util.Comparator<byte[]> getComparator()
getComparator in interface VersionType<byte[]>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||