org.tranql.sql.jdbc.binding
Class AbstractBinding
java.lang.Object
org.tranql.sql.jdbc.binding.AbstractBinding
- All Implemented Interfaces:
- InputBinding, OutputBinding, ResultBinding, SchemaBinding, java.io.Serializable, SQLBinding
- Direct Known Subclasses:
- BigDecimalBinding, BlobBinding, BooleanBinding, ByteArrayBinding, ByteBinding, CharBinding, DateBinding, DoubleBinding, FloatBinding, IntegerBinding, LongBinding, ShortBinding, SQLDateBinding, StringBinding, TimeBinding, TimestampBinding
- public abstract class AbstractBinding
- 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 |
index
protected final int index
transform
protected final QueryBinding transform
AbstractBinding
public AbstractBinding(int index,
QueryBinding 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
getAttribute
public Attribute getAttribute()
- Specified by:
getAttribute
in interface SchemaBinding
getEntity
public Entity getEntity()
- Specified by:
getEntity
in interface SchemaBinding
getFKAttribute
public FKAttribute getFKAttribute()
- Specified by:
getFKAttribute
in interface SchemaBinding
isAttributeBinding
public boolean isAttributeBinding()
- Specified by:
isAttributeBinding
in interface SchemaBinding
isFKAttributeBinding
public boolean isFKAttributeBinding()
- Specified by:
isFKAttributeBinding
in interface SchemaBinding
isUnknownBinding
public boolean isUnknownBinding()
- Specified by:
isUnknownBinding
in interface SchemaBinding
setAttribute
public void setAttribute(Attribute attribute)
- Specified by:
setAttribute
in interface SchemaBinding
setEntity
public void setEntity(Entity entity)
- Specified by:
setEntity
in interface SchemaBinding
setFKAttribute
public void setFKAttribute(FKAttribute fkAttribute)
- Specified by:
setFKAttribute
in interface SchemaBinding
Copyright © -2006 The Codehaus. All Rights Reserved.