org.tranql.sql.jdbc.binding
Class StringBinding

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

public class StringBinding
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
StringBinding(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

StringBinding

public StringBinding(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 © -2006 The Codehaus. All Rights Reserved.