|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.query.Qualifier
org.castor.cpa.persistence.sql.query.TableAlias
public final class TableAlias
Visitor constructing queryString.
| Constructor Summary | |
|---|---|
TableAlias(String table,
String name)
Method constructing a table from a string to be aliased by the second passed string. |
|
TableAlias(Table table,
String name)
Method constructing a new TableAlias by taking a pre-constructed table and a string to be used as alias for the given table. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Accept method to handle incoming visitors. |
Table |
getTable()
Get method returning table currently set. |
| Methods inherited from class org.castor.cpa.persistence.sql.query.Qualifier |
|---|
addFullJoin, addFullJoin, addInnerJoin, addInnerJoin, addJoin, addLeftJoin, addLeftJoin, addRightJoin, addRightJoin, column, getJoins, hasJoin, name, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TableAlias(String table,
String name)
table - String to construct table with.name - String used to alias the table.
public TableAlias(Table table,
String name)
table - Table to be aliased.name - String to be used to alias table.| Method Detail |
|---|
public Table getTable()
public void accept(Visitor visitor)
visitor - Visitor to be handled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||