org.apache.ws.jaxme.sqls

Interface ColumnReference

public interface ColumnReference

Interface of a column reference.

Author: Jochen Wiedmann

Method Summary
Column.NamegetAlias()

Returns the references alias name, if any.

ColumngetColumn()

Returns the referenced Column.

TableReferencegetTableReference()

Returns the TableReference that created the column reference.

voidsetAlias(String pName)

Sets the references alias name, if any.

voidsetAlias(Column.Name pName)

Sets the references alias name, if any.

Method Detail

getAlias

public Column.Name getAlias()

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

getColumn

public Column getColumn()

Returns the referenced Column.

getTableReference

public TableReference getTableReference()

Returns the TableReference that created the column reference.

setAlias

public void setAlias(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.