org.objectweb.medor.query.rdb.api

Interface RdbField

All Superinterfaces:
Cloneable, Field, NullStatus, QueryTreeField
Known Subinterfaces:
RdbExpField, RdbFieldOperand
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

Fields inherited from interface org.objectweb.medor.api.Field

PNAMENAME

Fields inherited from interface org.objectweb.medor.api.NullStatus

NONULLS, NULLABLE, NULLABLEUNKNOWN

Method Summary

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.api.Cloneable

clone

Methods inherited from interface org.objectweb.medor.api.Field

getName, getNullStatus, getType

Methods inherited from interface org.objectweb.medor.query.api.QueryTreeField

getQueryTree

Method Details

getColumnName

public 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).