com.mysema.query.sql.types
Class ObjectType

java.lang.Object
  extended by com.mysema.query.sql.types.ObjectType
All Implemented Interfaces:
Type<Object>

public class ObjectType
extends Object
implements Type<Object>

Author:
tiwe

Constructor Summary
ObjectType()
           
 
Method Summary
 Class<Object> getReturnedClass()
           
 int[] getSQLTypes()
           
 Object getValue(ResultSet rs, int startIndex)
           
 void setValue(PreparedStatement st, int startIndex, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectType

public ObjectType()
Method Detail

getValue

public Object getValue(ResultSet rs,
                       int startIndex)
                throws SQLException
Specified by:
getValue in interface Type<Object>
Throws:
SQLException

getReturnedClass

public Class<Object> getReturnedClass()
Specified by:
getReturnedClass in interface Type<Object>

setValue

public void setValue(PreparedStatement st,
                     int startIndex,
                     Object value)
              throws SQLException
Specified by:
setValue in interface Type<Object>
Throws:
SQLException

getSQLTypes

public int[] getSQLTypes()
Specified by:
getSQLTypes in interface Type<Object>


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.