net.sf.jaxme.sqls.impl
Class ColumnReferenceImpl

java.lang.Object
  extended bynet.sf.jaxme.sqls.impl.ColumnReferenceImpl
All Implemented Interfaces:
ColumnReference

public class ColumnReferenceImpl
extends java.lang.Object
implements ColumnReference

Implementation of a ColumnReference.

Author:
Jochen Wiedmann

Method Summary
 boolean equals(java.lang.Object o)
           
 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.
 int hashCode()
           
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTableReference

public TableReference getTableReference()
Description copied from interface: ColumnReference

Returns the TableReference that created the column reference.

Specified by:
getTableReference in interface ColumnReference

getColumn

public Column getColumn()
Description copied from interface: ColumnReference

Returns the referenced Column.

Specified by:
getColumn in interface ColumnReference

setAlias

public void setAlias(java.lang.String pName)
Description copied from interface: ColumnReference

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

Specified by:
setAlias in interface ColumnReference

setAlias

public void setAlias(Column.Name pName)
Description copied from interface: ColumnReference

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

Specified by:
setAlias in interface ColumnReference

getAlias

public Column.Name getAlias()
Description copied from interface: ColumnReference

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

Specified by:
getAlias in interface ColumnReference

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()