org.sakaiproject.metaobj.shared.mgt
Class AgentUserType

java.lang.Object
  extended byorg.sakaiproject.metaobj.shared.mgt.AgentUserType
All Implemented Interfaces:
net.sf.hibernate.UserType

public class AgentUserType
extends Object
implements net.sf.hibernate.UserType


Constructor Summary
AgentUserType()
           
 
Method Summary
 Object deepCopy(Object o)
           
 boolean equals(Object x, Object y)
           
 AgentManager getAgentManager()
           
 IdManager getIdManager()
           
 boolean isMutable()
           
 Object nullSafeGet(ResultSet resultSet, String[] names, Object o)
           
 void nullSafeSet(PreparedStatement st, Object value, int index)
           
 Class returnedClass()
           
 int[] sqlTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentUserType

public AgentUserType()
Method Detail

sqlTypes

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

returnedClass

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

equals

public boolean equals(Object x,
                      Object y)
               throws net.sf.hibernate.HibernateException
Specified by:
equals in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException

nullSafeGet

public Object nullSafeGet(ResultSet resultSet,
                          String[] names,
                          Object o)
                   throws net.sf.hibernate.HibernateException,
                          SQLException
Specified by:
nullSafeGet in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException
SQLException

nullSafeSet

public void nullSafeSet(PreparedStatement st,
                        Object value,
                        int index)
                 throws net.sf.hibernate.HibernateException,
                        SQLException
Specified by:
nullSafeSet in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException
SQLException

deepCopy

public Object deepCopy(Object o)
                throws net.sf.hibernate.HibernateException
Specified by:
deepCopy in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException

isMutable

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

getAgentManager

public AgentManager getAgentManager()

getIdManager

public IdManager getIdManager()