Class TableAlias
java.lang.Object
org.castor.cpa.persistence.sql.query.Qualifier
org.castor.cpa.persistence.sql.query.TableAlias
- All Implemented Interfaces:
QueryObject
Visitor constructing queryString.
- Version:
- $Revision: 8469 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Dennis Butterstein, Ralf Joachim
-
Constructor Summary
ConstructorsConstructorDescriptionTableAlias
(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
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
-
Constructor Details
-
TableAlias
Method constructing a table from a string to be aliased by the second passed string.- Parameters:
table
- String to construct table with.name
- String used to alias the table.
-
TableAlias
Method constructing a new TableAlias by taking a pre-constructed table and a string to be used as alias for the given table.- Parameters:
table
- Table to be aliased.name
- String to be used to alias table.
-
-
Method Details
-
getTable
Get method returning table currently set.- Returns:
- Table currently set.
-
accept
Accept method to handle incoming visitors.- Parameters:
visitor
- Visitor to be handled.
-