org.objectweb.medor.query.rdb.api
Interface RdbField

All Superinterfaces:
java.lang.Cloneable, Cloneable, java.lang.Comparable, Field, NullStatus, QueryTreeField
All Known Subinterfaces:
RdbExpField, RdbFieldOperand
All Known Implementing Classes:
BasicRdbExpField, BasicRdbField, BasicRdbFieldOperand

public interface RdbField
extends QueryTreeField

An RdbField represents a QueryTreeField which is associated to an RdbQueryLeaf.

Author:
Sebastien Chassande-Barrioz

Field Summary
 
Fields inherited from interface org.objectweb.medor.api.Field
PNAMENAME
 
Fields inherited from interface org.objectweb.medor.api.NullStatus
NONULLS, NULLABLE, NULLABLEUNKNOWN
 
Method Summary
 java.lang.String getColumnName()
          Returns the name of the column, either in the SQL ResultSet in the case of RdbStringQueryLeaf, or the name of the column in the QualifiedTable in the case of RdbExpQueryLeaf.
 
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
 

Method Detail

getColumnName

public java.lang.String getColumnName()
Returns the name of the column, either in the SQL ResultSet in the case of RdbStringQueryLeaf, or the name of the column in the QualifiedTable in the case of RdbExpQueryLeaf. This name is not to be confused with the name of the Field itself.

Returns:
the name of the RdbField in the underlying resultset (in the case of a RdbStringQueryLeaf) or QualifiedTable (in the case of a RdbExpField in a RdbExpQueryLeaf).