Class RevisionTypeType
java.lang.Object
org.hibernate.envers.internal.entities.RevisionTypeType
- All Implemented Interfaces:
Serializable, org.hibernate.usertype.UserType<RevisionType>
public class RevisionTypeType
extends Object
implements org.hibernate.usertype.UserType<RevisionType>, Serializable
A hibernate type for the
RevisionType enum.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) deepCopy(RevisionType value) disassemble(RevisionType value) booleanequals(RevisionType x, RevisionType y) intintbooleanreplace(RevisionType original, RevisionType target, Object owner) Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultSqlScale, getValueConverter, isComparable, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet
-
Constructor Details
-
RevisionTypeType
public RevisionTypeType()
-
-
Method Details
-
getSqlType
public int getSqlType()- Specified by:
getSqlTypein interfaceorg.hibernate.usertype.UserType<RevisionType>
-
returnedClass
- Specified by:
returnedClassin interfaceorg.hibernate.usertype.UserType<RevisionType>
-
deepCopy
- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType<RevisionType>
-
assemble
public RevisionType assemble(Serializable cached, Object owner) throws org.hibernate.HibernateException - Specified by:
assemblein interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
org.hibernate.HibernateException
-
disassemble
- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
org.hibernate.HibernateException
-
replace
public RevisionType replace(RevisionType original, RevisionType target, Object owner) throws org.hibernate.HibernateException - Specified by:
replacein interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
org.hibernate.HibernateException
-
hashCode
- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
org.hibernate.HibernateException
-
equals
- Specified by:
equalsin interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
org.hibernate.HibernateException
-