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

java.lang.Object
  extended byBasicCloneable
      extended byorg.objectweb.medor.lib.BasicField
          extended byorg.objectweb.medor.query.rdb.lib.BasicRdbField
              extended byorg.objectweb.medor.query.rdb.lib.BasicRdbExpField
All Implemented Interfaces:
Cloneable, java.lang.Cloneable, java.lang.Comparable, Field, NullStatus, QueryTreeField, RdbExpField, RdbField

public class BasicRdbExpField
extends BasicRdbField
implements RdbExpField

Author:
Sebastien Chassande-Barrioz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.medor.query.rdb.lib.BasicRdbField
col, ql
 
Fields inherited from class org.objectweb.medor.lib.BasicField
logger, name, type, valueState
 
Fields inherited from interface org.objectweb.medor.api.Field
PNAMENAME
 
Fields inherited from interface org.objectweb.medor.api.NullStatus
NONULLS, NULLABLE, NULLABLEUNKNOWN
 
Constructor Summary
BasicRdbExpField()
           
BasicRdbExpField(java.lang.String name, PType type, java.lang.String col, QualifiedTable table, QueryLeaf ql)
           
 
Method Summary
 java.lang.Object clone(java.lang.Object clone, java.util.Map obj2clone)
           
 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
compareTo, getName, getNullStatus, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

BasicRdbExpField

public BasicRdbExpField()

BasicRdbExpField

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

clone

public java.lang.Object clone(java.lang.Object clone,
                              java.util.Map obj2clone)
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class BasicRdbField
Throws:
java.lang.CloneNotSupportedException

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