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 {@link Column}.

TableReferencegetTableReference()

Returns the {@link 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 {@link Column}.

getTableReference

public TableReference getTableReference()

Returns the {@link 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.