net.sf.jaxme.sqls
Interface ColumnReference

All Known Implementing Classes:
ColumnReferenceImpl

public interface ColumnReference

Interface of a column reference.

Author:
Jochen Wiedmann

Method Summary
 Column.Name getAlias()
          Returns the references alias name, if any.
 Column getColumn()
          Returns the referenced Column.
 TableReference getTableReference()
          Returns the TableReference that created the column reference.
 void setAlias(Column.Name pName)
          Sets the references alias name, if any.
 void setAlias(java.lang.String pName)
          Sets the references alias name, if any.
 

Method Detail

getTableReference

public TableReference getTableReference()

Returns the TableReference that created the column reference.


getColumn

public Column getColumn()

Returns the referenced Column.


setAlias

public void setAlias(java.lang.String pName)

Sets the references alias name, if any. Null indicates, that an alias name may be choosen.


setAlias

public void setAlias(Column.Name pName)

Sets the references alias name, if any. Null indicates, that an alias name may be choosen.


getAlias

public Column.Name getAlias()

Returns the references alias name, if any. Null indicates, that an alias name may be choosen.