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) intintbooleannullSafeGet(ResultSet rs, int position, org.hibernate.type.descriptor.WrapperOptions options) voidnullSafeSet(PreparedStatement preparedStatement, RevisionType value, int index, org.hibernate.type.descriptor.WrapperOptions options) replace(RevisionType original, RevisionType target, Object owner) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter, isComparable, nullSafeGet, 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>
-
nullSafeGet
public RevisionType nullSafeGet(ResultSet rs, int position, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException - Specified by:
nullSafeGetin interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
SQLException
-
nullSafeSet
public void nullSafeSet(PreparedStatement preparedStatement, RevisionType value, int index, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException - Specified by:
nullSafeSetin interfaceorg.hibernate.usertype.UserType<RevisionType>- Throws:
SQLException
-
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
-