|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersionType
A Type that may be used to version data.
| Method Summary | |
|---|---|
Comparator |
getComparator()
Get a comparator for version values. |
boolean |
isEqual(Object x,
Object y)
Are the two version values considered equal? |
Object |
next(Object current,
SessionImplementor session)
Increment the version. |
Object |
seed(SessionImplementor session)
Generate an initial version. |
| Methods inherited from interface org.hibernate.type.Type |
|---|
assemble, beforeAssemble, compare, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getName, 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 |
| Method Detail |
|---|
Object seed(SessionImplementor session)
session - The session from which this request originates.
Object next(Object current,
SessionImplementor session)
session - The session from which this request originates.current - the current version
Comparator getComparator()
boolean isEqual(Object x,
Object y)
x - One value to check.y - The other value to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||