|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.query.TableColumn
public class TableColumn
This class represents a table column which can be used in a SQL statement.
The exact table and column name specified are used directly in the SQL
statement. This class should generally be used when specifying a column
that is associated with an ExternalTableExpression that has been added
to a query or for a column on a FROM expression with a known table alias.
Using this class with some TableExpression implementations, such as
ClassTableExpression, can result in invalid SQL since the actual table
name can vary for descendant classes.
Supported API: true
Extendable: false
ExternalTableExpression,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface wt.query.ColumnExpression |
|---|
COLUMN_ALIAS |
| Constructor Summary | |
|---|---|
TableColumn(String a_tableName,
String a_columnName)
Supported API: true |
|
| Method Summary | |
|---|---|
String |
getColumnAlias()
Gets the value of the attribute: columnAlias; Alias for the column expression. |
String |
getColumnName()
Gets the value of the attribute: columnName; Column name in the external table. |
String |
getTableName()
Gets the value of the attribute: tableName; External table name. |
void |
setColumnAlias(String a_ColumnAlias)
Sets the value of the attribute: columnAlias; Alias for the column expression. |
void |
setColumnName(String a_ColumnName)
Sets the value of the attribute: columnName; Column name in the external table. |
void |
setTableName(String a_TableName)
Sets the value of the attribute: tableName; External table name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TableColumn(String a_tableName,
String a_columnName)
a_tableName - Name of the database table.a_columnName - Name of the database column.| Method Detail |
|---|
public String getTableName()
public void setTableName(String a_TableName)
throws WTPropertyVetoException
a_TableName -
WTPropertyVetoExceptionpublic String getColumnName()
public void setColumnName(String a_ColumnName)
throws WTPropertyVetoException
a_ColumnName -
WTPropertyVetoExceptionpublic String getColumnAlias()
getColumnAlias in interface ColumnExpression
public void setColumnAlias(String a_ColumnAlias)
throws WTPropertyVetoException
setColumnAlias in interface ColumnExpressiona_ColumnAlias -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||