|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.datasource.util.SqlStatementTable
Describes a table in a SQL statement. It contains qualifier, alias and name of the table. It also indicates if the table is a subquery. The text of the subquery is stored. If alias is not specified, it is default to its qualified name.
Constructor Summary | |
SqlStatementTable(String name,
String qualifier,
String alias)
Constructs a table. |
Method Summary | |
String |
getAlias()
Gets the table alias. |
String |
getCatalogName()
Return the catalog name, or null if it doesn't exist |
String |
getQualifiedName()
Gets the qualified table name, i.e. |
String |
getQualifier()
Gets the table qualifier, i.e. |
String |
getSchemaName()
Return the schema name, or null if it doesn't exist |
String |
getSubQuery()
Gets the sub query. |
String |
getTableName()
Gets the table name without qualifier. |
boolean |
isSubQuery()
|
void |
setAlias(String s)
Sets the table alias explicited defined after the keyword "AS" |
void |
setQualifier(String s)
Sets the table qualifier, i.e. |
void |
setSubQuery(String s)
Sets the sub query. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SqlStatementTable(String name, String qualifier, String alias)
name
- table namequalifier
- qualifier of the table, i.e. [qualifier.]tablealias
- alias of the table. If it is not specified, it is
default to the qualified name.Method Detail |
public String getTableName()
public String getQualifier()
public void setQualifier(String s)
public String getQualifiedName()
public String getAlias()
public void setAlias(String s)
public boolean isSubQuery()
public void setSubQuery(String s)
public String getSubQuery()
public String getCatalogName()
public String getSchemaName()
public String toString()
toString
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |