public class TableReferenceImpl extends java.lang.Object implements TableReference
Implementation of a TableReference.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Table.Name |
getAlias()
Returns the references alias name.
|
Statement |
getStatement()
Returns the
Statement that created the reference. |
Table |
getTable()
Returns the referenced
Table. |
int |
hashCode() |
ColumnReference |
newColumnReference(Column.Name pName)
Returns a reference to the column named
pName
in the table. |
ColumnReference |
newColumnReference(Column pColumn)
Returns a reference to the given column in the table.
|
ColumnReference |
newColumnReference(java.lang.String pName)
Returns a reference to the column named
pName
in the table. |
void |
setAlias(java.lang.String pName)
Returns the references alias name.
|
void |
setAlias(Table.Name pName)
Sets the references alias name.
|
public Statement getStatement()
TableReferenceReturns the Statement that created the reference.
getStatement in interface TableReferencepublic Table getTable()
TableReferenceReturns the referenced Table.
getTable in interface TableReferencepublic Table.Name getAlias()
TableReferenceReturns the references alias name. Null indicates that an arbitrary alias name may be choosen.
getAlias in interface TableReferencepublic void setAlias(Table.Name pName)
TableReferenceSets the references alias name. Null indicates that an arbitrary alias name may be choosen.
setAlias in interface TableReferencepublic void setAlias(java.lang.String pName)
TableReferenceReturns the references alias name. Null indicates that an arbitrary alias name may be choosen.
setAlias in interface TableReferencepublic ColumnReference newColumnReference(java.lang.String pName)
TableReferenceReturns a reference to the column named pName
in the table.
newColumnReference in interface TableReferencepublic ColumnReference newColumnReference(Column.Name pName)
TableReferenceReturns a reference to the column named pName
in the table.
newColumnReference in interface TableReferencepublic ColumnReference newColumnReference(Column pColumn)
TableReferenceReturns a reference to the given column in the table.
newColumnReference in interface TableReferencepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object