org.tranql.ql
Class QueryBindingImpl
java.lang.Object
org.tranql.ql.QueryBindingImpl
- All Implemented Interfaces:
- FieldTransform, QueryBinding, SchemaBinding, java.io.Serializable
- public class QueryBindingImpl
- extends java.lang.Object
- implements QueryBinding
- Version:
- $Revision: 165 $ $Date: 2005-02-01 11:44:57 +0100 (Tue, 01 Feb 2005) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryBindingImpl
public QueryBindingImpl(FieldTransform next,
Entity entity,
Attribute attribute)
QueryBindingImpl
public QueryBindingImpl(FieldTransform next,
Entity entity,
FKAttribute fkAttribute)
QueryBindingImpl
public QueryBindingImpl(FieldTransform next)
QueryBindingImpl
public QueryBindingImpl(int slot,
Entity entity,
Attribute attribute)
QueryBindingImpl
public QueryBindingImpl(int slot,
Entity entity,
FKAttribute fkAttribute)
QueryBindingImpl
public QueryBindingImpl(int slot,
java.lang.Class fieldClass)
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
getFieldClass
public java.lang.Class getFieldClass()
- Description copied from interface:
FieldTransform
- Return the Java Class that will be returned by fetch and that should be passed to set.
- Specified by:
getFieldClass
in interface FieldTransform
- Returns:
- the Java Class for this field
get
public java.lang.Object get(Row row)
throws FieldTransformException
- Description copied from interface:
FieldTransform
- Return a value from the cache
- Specified by:
get
in interface FieldTransform
- Parameters:
row
- the row to fetch from
- Returns:
- the transformed value
- Throws:
FieldTransformException
set
public void set(Row row,
java.lang.Object value)
throws FieldTransformException
- Description copied from interface:
FieldTransform
- Set a value into the cache
- Specified by:
set
in interface FieldTransform
- Parameters:
row
- the row to store the value intovalue
- the value to be transformed
- Throws:
FieldTransformException
Copyright © -2006 The Codehaus. All Rights Reserved.