org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype
Class DomainModelResourceType

java.lang.Object
  extended by org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableType
      extended by org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableUserType
          extended by org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.DomainModelResourceType
All Implemented Interfaces:
org.hibernate.usertype.UserType

public class DomainModelResourceType
extends ImmutableUserType

A user type that maps an SQL string to a NOF DomainModelResource. TODO remove this class as it no longer has a counterpart in the NOF (was DomainModelResource)


Constructor Summary
DomainModelResourceType()
           
 
Method Summary
 java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, java.lang.Object owner)
           
 void nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index)
           
 java.lang.Class<java.lang.Object> returnedClass()
           
 int[] sqlTypes()
           
 
Methods inherited from class org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableUserType
assemble, disassemble, replace
 
Methods inherited from class org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableType
deepCopy, equals, hashCode, isMutable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.usertype.UserType
deepCopy, equals, hashCode, isMutable
 

Constructor Detail

DomainModelResourceType

public DomainModelResourceType()
Method Detail

nullSafeGet

public java.lang.Object nullSafeGet(java.sql.ResultSet rs,
                                    java.lang.String[] names,
                                    java.lang.Object owner)
                             throws org.hibernate.HibernateException,
                                    java.sql.SQLException
Throws:
org.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement st,
                        java.lang.Object value,
                        int index)
                 throws org.hibernate.HibernateException,
                        java.sql.SQLException
Throws:
org.hibernate.HibernateException
java.sql.SQLException

returnedClass

public java.lang.Class<java.lang.Object> returnedClass()

sqlTypes

public int[] sqlTypes()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.