com.mysema.query.sql.types
Class DateTimeType

java.lang.Object
  extended by com.mysema.query.sql.types.DateTimeType
All Implemented Interfaces:
Type<org.joda.time.DateTime>

public class DateTimeType
extends Object
implements Type<org.joda.time.DateTime>


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

Constructor Detail

DateTimeType

public DateTimeType()
Method Detail

getReturnedClass

public Class<org.joda.time.DateTime> getReturnedClass()
Specified by:
getReturnedClass in interface Type<org.joda.time.DateTime>

getSQLTypes

public int[] getSQLTypes()
Specified by:
getSQLTypes in interface Type<org.joda.time.DateTime>

getValue

public org.joda.time.DateTime getValue(ResultSet rs,
                                       int startIndex)
                                throws SQLException
Specified by:
getValue in interface Type<org.joda.time.DateTime>
Throws:
SQLException

setValue

public void setValue(PreparedStatement st,
                     int startIndex,
                     org.joda.time.DateTime value)
              throws SQLException
Specified by:
setValue in interface Type<org.joda.time.DateTime>
Throws:
SQLException


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