Package com.atlassian.confluence.core
Class BodyTypeUserType
java.lang.Object
com.atlassian.confluence.impl.hibernate.HibernateUserType
com.atlassian.confluence.core.BodyTypeUserType
- All Implemented Interfaces:
Serializable,org.hibernate.usertype.EnhancedUserType,org.hibernate.usertype.UserType
public class BodyTypeUserType
extends HibernateUserType
implements org.hibernate.usertype.EnhancedUserType
A UserType implementation for the BodyType enum.
- Since:
- 6.1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) disassemble(Object value) booleanfromXMLString(String xmlValue) intbooleanprotected ObjectnullSafeGetImpl(ResultSet rs, int column, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) voidnullSafeSetImpl(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) objectToSQLString(Object value) toXMLString(Object value) Methods inherited from class com.atlassian.confluence.impl.hibernate.HibernateUserType
getSqlType, nullSafeGet, nullSafeGet, nullSafeGetImpl, nullSafeSet, sqlTypesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.usertype.UserType
nullSafeGet, nullSafeSet, sqlTypes
-
Constructor Details
-
BodyTypeUserType
public BodyTypeUserType()
-
-
Method Details
-
assemble
- Specified by:
assemblein interfaceorg.hibernate.usertype.UserType- Overrides:
assemblein classHibernateUserType- Throws:
org.hibernate.HibernateException
-
disassemble
- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType- Overrides:
disassemblein classHibernateUserType- Throws:
org.hibernate.HibernateException
-
deepCopy
- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
equals
- Specified by:
equalsin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
hashCode
- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType- Overrides:
hashCodein classHibernateUserType- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType
-
replace
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException - Specified by:
replacein interfaceorg.hibernate.usertype.UserType- Overrides:
replacein classHibernateUserType- Throws:
org.hibernate.HibernateException
-
returnedClass
- Specified by:
returnedClassin interfaceorg.hibernate.usertype.UserType
-
objectToSQLString
- Specified by:
objectToSQLStringin interfaceorg.hibernate.usertype.EnhancedUserType
-
toXMLString
- Specified by:
toXMLStringin interfaceorg.hibernate.usertype.EnhancedUserType
-
fromXMLString
- Specified by:
fromXMLStringin interfaceorg.hibernate.usertype.EnhancedUserType
-