org.objectweb.medor.query.rdb.lib
Class BasicRdbExpField

java.lang.Object
  |
  +--org.objectweb.medor.lib.BasicField
        |
        +--org.objectweb.medor.query.rdb.lib.BasicRdbField
              |
              +--org.objectweb.medor.query.rdb.lib.BasicRdbExpField
All Implemented Interfaces:
java.lang.Cloneable, Cloneable, Field, QueryTreeField, RdbExpField, RdbField

public class BasicRdbExpField
extends BasicRdbField
implements RdbExpField

Author:
Sebastien Chassande-Barrioz

Field Summary
 
Fields inherited from interface org.objectweb.medor.api.Field
NONULLS, NULLABLE, NULLABLEUNKNOWN, PNAMENAME
 
Constructor Summary
BasicRdbExpField(java.lang.String name, PType type, java.lang.String col, QualifiedTable table, QueryLeaf ql)
           
 
Method Summary
 QualifiedTable getTable()
          Returns the associated QualifiedTable.
 void setQueryLeaf(QueryLeaf ql)
          Sets the QueryLeaf to which the RdbExpField is associated
 void setTable(QualifiedTable t)
          Associates the RdbExpField with the QualifiedTable.
 
Methods inherited from class org.objectweb.medor.query.rdb.lib.BasicRdbField
getColumnName, getQueryTree
 
Methods inherited from class org.objectweb.medor.lib.BasicField
clone, getName, getNullStatus, getType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.query.rdb.api.RdbField
getColumnName
 
Methods inherited from interface org.objectweb.medor.query.api.QueryTreeField
getQueryTree
 
Methods inherited from interface org.objectweb.medor.api.Field
getName, getNullStatus, getType
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 

Constructor Detail

BasicRdbExpField

public BasicRdbExpField(java.lang.String name,
                        PType type,
                        java.lang.String col,
                        QualifiedTable table,
                        QueryLeaf ql)
Method Detail

getTable

public QualifiedTable getTable()
Description copied from interface: RdbExpField
Returns the associated QualifiedTable.

Specified by:
getTable in interface RdbExpField
Returns:
the associated QualifiedTable in the underlying SQL query.

setTable

public void setTable(QualifiedTable t)
Description copied from interface: RdbExpField
Associates the RdbExpField with the QualifiedTable.

Specified by:
setTable in interface RdbExpField
Parameters:
t - is the associated QualifiedTable in the underlying SQL query.

setQueryLeaf

public void setQueryLeaf(QueryLeaf ql)
Description copied from interface: RdbExpField
Sets the QueryLeaf to which the RdbExpField is associated

Specified by:
setQueryLeaf in interface RdbExpField
Parameters:
ql - is the QueryLeaf to which the RdbExpField is associated