org.tranql.sql.jdbc.binding
Class AbstractBinding

java.lang.Object
  extended byorg.tranql.sql.jdbc.binding.AbstractBinding
All Implemented Interfaces:
InputBinding, OutputBinding, ResultBinding, java.io.Serializable
Direct Known Subclasses:
BooleanBinding, ByteBinding, IntegerBinding, LongBinding, ShortBinding, StringBinding

public abstract class AbstractBinding
extends java.lang.Object
implements ResultBinding, InputBinding, OutputBinding

Version:
$Revision: 1.1 $ $Date: 2004/04/19 22:23:20 $
See Also:
Serialized Form

Field Summary
protected  int index
           
protected  FieldTransform transform
           
 
Constructor Summary
AbstractBinding(int index, FieldTransform transform)
           
 
Method Summary
 void getValue(java.sql.ResultSet rs, Row row)
           
 void setValue(java.sql.PreparedStatement ps, Row row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tranql.sql.jdbc.ResultBinding
getValue
 
Methods inherited from interface org.tranql.sql.jdbc.InputBinding
setValue
 
Methods inherited from interface org.tranql.sql.jdbc.OutputBinding
getValue, register
 

Field Detail

index

protected final int index

transform

protected final FieldTransform transform
Constructor Detail

AbstractBinding

public AbstractBinding(int index,
                       FieldTransform transform)
Method Detail

getValue

public void getValue(java.sql.ResultSet rs,
                     Row row)
              throws java.sql.SQLException,
                     FieldTransformException
Specified by:
getValue in interface ResultBinding
Throws:
java.sql.SQLException
FieldTransformException

setValue

public void setValue(java.sql.PreparedStatement ps,
                     Row row)
              throws java.sql.SQLException,
                     FieldTransformException
Specified by:
setValue in interface InputBinding
Throws:
java.sql.SQLException
FieldTransformException


Copyright © -2005 The Codehaus. All Rights Reserved.