com.mysema.query.sql.types
Class BooleanType

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

public class BooleanType
extends Object
implements Type<Boolean>

Author:
tiwe

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

Constructor Detail

BooleanType

public BooleanType()
Method Detail

getValue

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

getReturnedClass

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

setValue

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

getSQLTypes

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


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