org.tranql.sql.jdbc.binding
Class BooleanBinding

java.lang.Object
  extended by org.tranql.sql.jdbc.binding.AbstractBinding
      extended by org.tranql.sql.jdbc.binding.BooleanBinding
All Implemented Interfaces:
java.io.Serializable, SchemaBinding, InputBinding, OutputBinding, ResultBinding, SQLBinding

public class BooleanBinding
extends AbstractBinding

Version:
$Revision: 155 $ $Date: 2004-12-03 00:12:10 +0100 (Fri, 03 Dec 2004) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tranql.sql.jdbc.binding.AbstractBinding
index, transform
 
Constructor Summary
BooleanBinding(int index, QueryBinding transform)
           
 
Method Summary
 int getSQLType()
           
 java.lang.Object getValue(java.sql.CallableStatement cs)
           
 java.lang.Object getValue(java.sql.ResultSet rs)
           
 void register(java.sql.CallableStatement cs)
           
 void setValue(java.sql.PreparedStatement ps, java.lang.Object value)
           
 
Methods inherited from class org.tranql.sql.jdbc.binding.AbstractBinding
getAttribute, getEntity, getFKAttribute, getValue, isAttributeBinding, isFKAttributeBinding, isUnknownBinding, setAttribute, setEntity, setFKAttribute, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanBinding

public BooleanBinding(int index,
                      QueryBinding transform)
Method Detail

getValue

public java.lang.Object getValue(java.sql.ResultSet rs)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

setValue

public void setValue(java.sql.PreparedStatement ps,
                     java.lang.Object value)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

register

public void register(java.sql.CallableStatement cs)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

getValue

public java.lang.Object getValue(java.sql.CallableStatement cs)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

getSQLType

public int getSQLType()


Copyright © -2010 The Codehaus. All Rights Reserved.