com.retek.rsm.domain.common.dao.hibernate
Class LocaleUserType

java.lang.Object
  |
  +--com.retek.rsm.domain.common.dao.hibernate.LocaleUserType
All Implemented Interfaces:
net.sf.hibernate.UserType

public class LocaleUserType
extends java.lang.Object
implements net.sf.hibernate.UserType


Constructor Summary
LocaleUserType()
           
 
Method Summary
 java.lang.Object deepCopy(java.lang.Object localeObject)
           
 boolean equals(java.lang.Object locale0, java.lang.Object locale1)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] columnNames, java.lang.Object referenceObject)
           
 void nullSafeSet(java.sql.PreparedStatement stmt, java.lang.Object localeObject, int columnIndex)
           
 java.lang.Class returnedClass()
           
 int[] sqlTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleUserType

public LocaleUserType()
Method Detail

sqlTypes

public int[] sqlTypes()
Specified by:
sqlTypes in interface net.sf.hibernate.UserType

returnedClass

public java.lang.Class returnedClass()
Specified by:
returnedClass in interface net.sf.hibernate.UserType

equals

public boolean equals(java.lang.Object locale0,
                      java.lang.Object locale1)
               throws net.sf.hibernate.HibernateException
Specified by:
equals in interface net.sf.hibernate.UserType
net.sf.hibernate.HibernateException

nullSafeGet

public java.lang.Object nullSafeGet(java.sql.ResultSet rs,
                                    java.lang.String[] columnNames,
                                    java.lang.Object referenceObject)
                             throws net.sf.hibernate.HibernateException,
                                    java.sql.SQLException
Specified by:
nullSafeGet in interface net.sf.hibernate.UserType
net.sf.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement stmt,
                        java.lang.Object localeObject,
                        int columnIndex)
                 throws net.sf.hibernate.HibernateException,
                        java.sql.SQLException
Specified by:
nullSafeSet in interface net.sf.hibernate.UserType
net.sf.hibernate.HibernateException
java.sql.SQLException

deepCopy

public java.lang.Object deepCopy(java.lang.Object localeObject)
                          throws net.sf.hibernate.HibernateException
Specified by:
deepCopy in interface net.sf.hibernate.UserType
net.sf.hibernate.HibernateException

isMutable

public boolean isMutable()
Specified by:
isMutable in interface net.sf.hibernate.UserType