com.mysema.query.sql.types
Class DateType

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

public class DateType
extends Object
implements Type<Date>

Author:
tiwe

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

Constructor Detail

DateType

public DateType()
Method Detail

getValue

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

getReturnedClass

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

setValue

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

getSQLTypes

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


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