public class

ContentTypeEnumUserType

extends Object
implements UserType
java.lang.Object
   ↳ com.atlassian.confluence.core.persistence.hibernate.ContentTypeEnumUserType

Class Overview

Converts ContentTypeEnums to and from strings in the DB.

Summary

Public Constructors
ContentTypeEnumUserType()
Public Methods
Object deepCopy(Object object)
boolean equals(Object x, Object y)
boolean isMutable()
ContentTypeEnum nullSafeGet(ResultSet rs, String[] columns, Object owner)
void nullSafeSet(PreparedStatement ps, Object value, int index)
Class returnedClass()
int[] sqlTypes()
[Expand]
Inherited Methods
From class java.lang.Object
From interface net.sf.hibernate.UserType

Public Constructors

public ContentTypeEnumUserType ()

Public Methods

public Object deepCopy (Object object)

Throws
HibernateException

public boolean equals (Object x, Object y)

Throws
HibernateException

public boolean isMutable ()

public ContentTypeEnum nullSafeGet (ResultSet rs, String[] columns, Object owner)

Throws
HibernateException
SQLException

public void nullSafeSet (PreparedStatement ps, Object value, int index)

Throws
HibernateException
SQLException

public Class returnedClass ()

public int[] sqlTypes ()