com.mysema.query.sql.types
Class TimestampType

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

public class TimestampType
extends Object
implements Type<Timestamp>

Author:
tiwe

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

Constructor Detail

TimestampType

public TimestampType()
Method Detail

getValue

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

getReturnedClass

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

setValue

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

getSQLTypes

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


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