org.tranql.sql.jdbc.binding
Class AbstractBinding
java.lang.Object
org.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
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 |
index
protected final int index
transform
protected final FieldTransform transform
AbstractBinding
public AbstractBinding(int index,
FieldTransform transform)
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.