com.mysema.query.sql.types
Class DateTimeType

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

public class DateTimeType
extends AbstractType<org.joda.time.DateTime>


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

Constructor Detail

DateTimeType

public DateTimeType()

DateTimeType

public DateTimeType(int type)
Method Detail

getReturnedClass

public Class<org.joda.time.DateTime> getReturnedClass()

getValue

public org.joda.time.DateTime getValue(ResultSet rs,
                                       int startIndex)
                                throws SQLException
Throws:
SQLException

setValue

public void setValue(PreparedStatement st,
                     int startIndex,
                     org.joda.time.DateTime value)
              throws SQLException
Throws:
SQLException


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