org.tranql.sql.jdbc.binding
Class TypeConverterBinding
java.lang.Object
org.tranql.sql.jdbc.binding.TypeConverterBinding
- All Implemented Interfaces:
- java.io.Serializable, SchemaBinding, InputBinding, OutputBinding, ResultBinding, SQLBinding
public class TypeConverterBinding
- extends java.lang.Object
- implements ResultBinding, InputBinding, OutputBinding
- Version:
- $Revision: 155 $ $Date: 2004-12-03 00:12:10 +0100 (Fri, 03 Dec 2004) $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeConverterBinding
public TypeConverterBinding(FieldTransform transform,
InputBinding inputBinding,
TypeConverter typeConverter)
TypeConverterBinding
public TypeConverterBinding(FieldTransform transform,
OutputBinding outputBinding,
TypeConverter typeConverter)
TypeConverterBinding
public TypeConverterBinding(FieldTransform transform,
ResultBinding resultBinding,
TypeConverter typeConverter)
getValue
public java.lang.Object getValue(java.sql.ResultSet rs)
throws java.sql.SQLException
- Specified by:
getValue in interface ResultBinding
- Throws:
java.sql.SQLException
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
setValue
public void setValue(java.sql.PreparedStatement ps,
java.lang.Object value)
throws java.sql.SQLException
- Specified by:
setValue in interface InputBinding
- Throws:
java.sql.SQLException
register
public void register(java.sql.CallableStatement cs)
throws java.sql.SQLException
- Specified by:
register in interface OutputBinding
- Throws:
java.sql.SQLException
getValue
public java.lang.Object getValue(java.sql.CallableStatement cs)
throws java.sql.SQLException
- Specified by:
getValue in interface OutputBinding
- Throws:
java.sql.SQLException
getSQLType
public int getSQLType()
- Specified by:
getSQLType in interface SQLBinding
getConverter
public TypeConverter getConverter()
setEntity
public void setEntity(Entity entity)
- Specified by:
setEntity in interface SchemaBinding
getEntity
public Entity getEntity()
- Specified by:
getEntity in interface SchemaBinding
isAttributeBinding
public boolean isAttributeBinding()
- Specified by:
isAttributeBinding in interface SchemaBinding
setAttribute
public void setAttribute(Attribute attribute)
- Specified by:
setAttribute in interface SchemaBinding
getAttribute
public Attribute getAttribute()
- Specified by:
getAttribute in interface SchemaBinding
isFKAttributeBinding
public boolean isFKAttributeBinding()
- Specified by:
isFKAttributeBinding in interface SchemaBinding
setFKAttribute
public void setFKAttribute(FKAttribute fkAttribute)
- Specified by:
setFKAttribute in interface SchemaBinding
getFKAttribute
public FKAttribute getFKAttribute()
- Specified by:
getFKAttribute in interface SchemaBinding
isUnknownBinding
public boolean isUnknownBinding()
- Specified by:
isUnknownBinding in interface SchemaBinding
Copyright © -2010 The Codehaus. All Rights Reserved.